android_kernel_xiaomi_sm8350/fs/ocfs2
Mark Fasheh 1afc32b952 ocfs2: Write support for inline data
This fixes up write, truncate, mmap, and RESVSP/UNRESVP to understand inline
inode data.

For the most part, the changes to the core write code can be relied on to do
the heavy lifting. Any code calling ocfs2_write_begin (including shared
writeable mmap) can count on it doing the right thing with respect to
growing inline data to an extent tree.

Size reducing truncates, including UNRESVP can simply zero that portion of
the inode block being removed. Size increasing truncatesm, including RESVP
have to be a little bit smarter and grow the inode to an extent tree if
necessary.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>
2007-10-12 11:54:40 -07:00
..
cluster Fix up more bio fallout 2007-10-12 00:29:50 -07:00
dlm mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
alloc.c ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
alloc.h ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
aops.c ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
aops.h ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c ocfs2: Cleanup dirent size check 2007-10-12 11:54:39 -07:00
dir.h ocfs2: Rename cleanups 2007-10-12 11:54:38 -07:00
dlmglue.c ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
dlmglue.h ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
endian.h ocfs2: btree changes for unwritten extents 2007-07-10 17:32:00 -07:00
export.c ocfs2: Provide convenience function for ino lookup 2007-10-12 11:54:38 -07:00
export.h knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
extent_map.c ocfs2: Read support for inline data 2007-10-12 11:54:39 -07:00
extent_map.h
file.c ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
file.h ocfs2: move nonsparse hole-filling into ocfs2_write_begin() 2007-10-12 11:54:35 -07:00
heartbeat.c usermodehelper: Tidy up waiting 2007-07-18 08:47:40 -07:00
heartbeat.h
inode.c ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
inode.h ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
ioctl.c Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check 2007-07-17 12:00:03 -07:00
ioctl.h
journal.c ocfs2: Remove open coded readdir() 2007-10-12 11:54:37 -07:00
journal.h ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
localalloc.c ocfs2: Unlock mutex in local alloc failure case 2007-10-03 11:14:45 -07:00
localalloc.h ocfs2: Allow smaller allocations during large writes 2007-09-20 15:06:09 -07:00
Makefile
mmap.c fix some conversion overflows 2007-07-20 08:44:19 -07:00
mmap.h
namei.c ocfs2: Rename cleanups 2007-10-12 11:54:38 -07:00
namei.h ocfs2: Move directory manipulation code into dir.c 2007-10-12 11:54:36 -07:00
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
ocfs2_lockid.h
ocfs2.h ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
slot_map.c ocfs2: Add "preferred slot" mount option 2007-07-10 17:19:54 -07:00
slot_map.h
suballoc.c ocfs2: Allow smaller allocations during large writes 2007-09-20 15:06:09 -07:00
suballoc.h ocfs2: Allow smaller allocations during large writes 2007-09-20 15:06:09 -07:00
super.c [PATCH] fs/ocfs2/: removed unneeded initial value and function's return value 2007-10-12 11:54:34 -07:00
super.h ocfs2: use s_maxbytes directly in ocfs2_change_file_space() 2007-08-09 17:25:07 -07:00
symlink.c
symlink.h
sysfile.c ocfs2: Provide convenience function for ino lookup 2007-10-12 11:54:38 -07:00
sysfile.h
uptodate.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
uptodate.h
ver.c
ver.h
vote.c ocfs2: Pack vote message and response structures 2007-09-20 15:06:10 -07:00
vote.h