android_kernel_xiaomi_sm8350/fs/xfs/linux-2.6
Badari Pulavarty 543ade1fc9 [PATCH] Streamline generic_file_* interfaces and filemap cleanups
This patch cleans up generic_file_*_read/write() interfaces.  Christoph
Hellwig gave me the idea for this clean ups.

In a nutshell, all filesystems should set .aio_read/.aio_write methods and use
do_sync_read/ do_sync_write() as their .read/.write methods.  This allows us
to cleanup all variants of generic_file_* routines.

Final available interfaces:

generic_file_aio_read() - read handler
generic_file_aio_write() - write handler
generic_file_aio_write_nolock() - no lock write handler

__generic_file_aio_write_nolock() - internal worker routine

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-01 00:39:28 -07:00
..
kmem.c [XFS] pv 956240, author: nathans, rv: vapo - Minor fixes in 2006-09-28 11:06:10 +10:00
kmem.h [XFS] Add a greedy allocation interface, allocating within a min/max size 2006-09-28 11:03:27 +10:00
mrlock.h
mutex.h
sema.h [XFS] standardize on one sema init macro 2006-09-28 11:05:46 +10:00
spin.h
sv.h [XFS] Collapse sv_init and init_sv into just the one interface. 2006-09-28 11:05:52 +10:00
time.h
xfs_aops.c [XFS] Remove a no-longer-correct debug assert from dio completion 2006-09-28 11:03:33 +10:00
xfs_aops.h
xfs_buf.c [XFS] Be more defensive with page flags (error/private) for metadata 2006-09-28 11:03:13 +10:00
xfs_buf.h [XFS] Remove several macros that are no longer used anywhere 2006-09-28 11:02:57 +10:00
xfs_cred.h
xfs_export.c
xfs_export.h
xfs_file.c [PATCH] Remove readv/writev methods and use aio_read/aio_write instead 2006-10-01 00:39:28 -07:00
xfs_fs_subr.c
xfs_fs_subr.h
xfs_globals.c [XFS] Improve error handling for the zero-fsblock extent detection code. 2006-09-28 11:03:20 +10:00
xfs_globals.h
xfs_ioctl32.c
xfs_ioctl32.h
xfs_ioctl.c [XFS] move XFS_IOC_GETVERSION to main multiplexer 2006-09-28 10:56:01 +10:00
xfs_iops.c [XFS] Update XFS for i_blksize removal from generic inode structure 2006-09-28 11:01:22 +10:00
xfs_iops.h
xfs_linux.h [XFS] Fix a porting botch on the realtime subvol growfs code path. 2006-09-28 11:03:53 +10:00
xfs_lrw.c [PATCH] Streamline generic_file_* interfaces and filemap cleanups 2006-10-01 00:39:28 -07:00
xfs_lrw.h
xfs_stats.c
xfs_stats.h
xfs_super.c [XFS] Really fix use after free in xfs_iunpin. 2006-09-28 11:06:03 +10:00
xfs_super.h
xfs_sysctl.c
xfs_sysctl.h
xfs_version.h
xfs_vfs.c
xfs_vfs.h [XFS] remove accidentally reintroduced vfs unmount flag, unneeded in 2006-09-28 10:59:06 +10:00
xfs_vnode.c [PATCH] inode-diet: Eliminate i_blksize from the inode structure 2006-09-27 08:26:18 -07:00
xfs_vnode.h [XFS] remove bhv_lookup, _range version works aswell and has more useful 2006-09-28 10:58:52 +10:00