kernel-fxtec-pro1x/fs/9p
Josef Bacik 02c24a8218 fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers
Btrfs needs to be able to control how filemap_write_and_wait_range() is called
in fsync to make it less of a painful operation, so push down taking i_mutex and
the calling of filemap_write_and_wait() down into the ->fsync() handlers.  Some
file systems can drop taking the i_mutex altogether it seems, like ext3 and
ocfs2.  For correctness sake I just pushed everything down in all cases to make
sure that we keep the current behavior the same for everybody, and then each
individual fs maintainer can make up their mind about what to do from there.
Thanks,

Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2011-07-20 20:47:59 -04:00
..
acl.c ->permission() sanitizing: don't pass flags to ->check_acl() 2011-07-20 01:43:21 -04:00
acl.h ->permission() sanitizing: don't pass flags to ->check_acl() 2011-07-20 01:43:21 -04:00
cache.c fs/9p: Add v9fs_inode 2011-03-15 09:57:39 -05:00
cache.h fs/9p: Add v9fs_inode 2011-03-15 09:57:39 -05:00
fid.c 9p: revert tsyncfs related changes 2011-04-15 15:26:14 -05:00
fid.h fs/9p: Prevent multiple inclusion of same header 2011-03-15 09:57:41 -05:00
Kconfig 9p: remove experimental tag from tested configurations 2011-05-25 08:46:38 -05:00
Makefile fs/9p: Move dotl inode operations into a seperate file 2011-01-11 09:58:07 -06:00
v9fs.c fs/9p: Add v9fs_inode 2011-03-15 09:57:39 -05:00
v9fs.h 9p: revert tsyncfs related changes 2011-04-15 15:26:14 -05:00
v9fs_vfs.h fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
vfs_addr.c fs/9p: Add direct IO support in cached mode 2011-03-15 09:57:40 -05:00
vfs_dentry.c fs/9p: Fix revalidate to return correct value 2011-04-15 15:26:13 -05:00
vfs_dir.c fs/9p: We need not writeback dirty pages during close 2011-03-15 09:57:38 -05:00
vfs_file.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
vfs_inode.c no need to check for LOOKUP_OPEN in ->create() instances 2011-07-20 01:43:56 -04:00
vfs_inode_dotl.c no need to check for LOOKUP_OPEN in ->create() instances 2011-07-20 01:43:56 -04:00
vfs_super.c 9p: revert tsyncfs related changes 2011-04-15 15:26:14 -05:00
xattr.c fs/9p: Remove unnecessary semicolons 2011-01-11 09:58:07 -06:00
xattr.h fs/9p: Add xattr callbacks for POSIX ACL 2010-10-28 09:08:46 -05:00
xattr_user.c fs/9p: Add support user. xattr 2010-08-02 14:28:35 -05:00