linux_dsm_epyc7002/fs/btrfs
Yan 689f934661 Fix inline extent handling in btrfs_get_extent
1.  Reorder kmap and the test for  'page != NULL'
2.  Zero-fill rest area of a block when inline extent isn't big enough.
3.  Do not insert extent_map into the map tree when page == NULL.
(If insert the extent_map into the map tree,  subsequent read requests
will find it in the map tree directly and the corresponding inline
extent data aren't copied into page by the the get_extent function.
extent_read_full_page can't handle that case)

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:03:57 -04:00
..
bit-radix.c Btrfs: trivial include fixups 2007-07-11 10:00:37 -04:00
bit-radix.h Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
btrfs_inode.h Btrfs: Extent based page cache code. This uses an rbtree of extents and tests 2007-08-27 16:49:44 -04:00
COPYING Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
ctree.c Btrfs: Tune the automatic defrag code 2008-09-25 11:03:57 -04:00
ctree.h Btrfs: Optimize csum insertion to create larger items when possible 2008-09-25 11:03:57 -04:00
dir-item.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
disk-io.c Btrfs: Properly setup root key while reading the root 2008-09-25 11:03:57 -04:00
disk-io.h Btrfs: Add back file data checksumming 2008-09-25 11:03:57 -04:00
extent_map.c Btrfs: Fix extent_map leak in extent_bmap 2008-09-25 11:03:57 -04:00
extent_map.h Btrfs: Add back metadata checksumming 2008-09-25 11:03:56 -04:00
extent-tree.c btrfs: 32-bit type problems 2008-09-25 11:03:57 -04:00
file-item.c Btrfs: Optimize csum insertion to create larger items when possible 2008-09-25 11:03:57 -04:00
file.c Btrfs: Fix for insert_inline_extent to handle offset != 0 2008-09-25 11:03:57 -04:00
hash.c Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
hash.h Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
inode-item.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
inode-map.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
inode.c Fix inline extent handling in btrfs_get_extent 2008-09-25 11:03:57 -04:00
INSTALL Btrfs: Documentation update 2007-06-22 14:49:31 -04:00
ioctl.h Btrfs: Add run time btree defrag, and an ioctl to force btree defrag 2007-08-07 16:15:09 -04:00
Makefile Breakout BTRFS_SETGET_FUNCS into a separate C file, the inlines were too big. 2008-09-25 11:03:56 -04:00
print-tree.c Btrfs: Allow tree blocks larger than the page size 2008-09-25 11:03:56 -04:00
print-tree.h Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
root-tree.c Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
struct-funcs.c Breakout BTRFS_SETGET_FUNCS into a separate C file, the inlines were too big. 2008-09-25 11:03:56 -04:00
super.c Btrfs: Allow tails larger than one page 2008-09-25 11:03:56 -04:00
sysfs.c Btrfs: sysfs compile fixup 2008-09-25 11:03:57 -04:00
TODO Btrfs: add GPLv2 2007-06-12 09:07:21 -04:00
transaction.c Btrfs: Defrag only leaves, and only when the parent node has a single objectid 2008-09-25 11:03:57 -04:00
transaction.h Btrfs: Create extent_buffer interface for large blocksizes 2008-09-25 11:03:56 -04:00
tree-defrag.c Btrfs: Tune the automatic defrag code 2008-09-25 11:03:57 -04:00