Skip to contentSkip to conversation

XFS development tree branch, master, updated. xfs-for-linus-v3.12-rc3-21-g865e944

XFS updates [email protected] 1 participant 1 message Oct 21, 2013

lore
Share & tools
lore

[email protected]

author Reviewed-by Dave Chinner Reviewed-by Dave Chinner Reviewed-by Dave Chinner Reviewed-by Dave Chinner Reviewed-by Dave Chinner
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "XFS development tree".

The branch, master has been updated
865e944 xfs: fold xfs_change_file_space into xfs_ioc_space 83aee9e xfs: simplify the fallocate path
5f8aca8 xfs: always hold the iolock when calling xfs_change_file_space 001a3e7 xfs: remove the unused XFS_ATTR_NONBLOCK flag 76ca4c2 xfs: always take the iolock around xfs_setattr_size

      from  59e5a0e821d838854b3afd030d31f82cee3ecd58 (commit)

Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.

- Log ----------------------------------------------------------------- commit 865e9446b4c17f78be0b1387426394b6bfc278f3

Author: Christoph Hellwig <[email protected]>
Date:   Sat Oct 12 00:55:08 2013 -0700

xfs: fold xfs_change_file_space into xfs_ioc_space

Now that only one caller of xfs_change_file_space is left it can be merged into said caller.

commit 83aee9e4c2976143f35b3a42ad1faadf58c53ae7

Author: Christoph Hellwig <[email protected]>
Date:   Sat Oct 12 00:55:07 2013 -0700

xfs: simplify the fallocate path

Call xfs_alloc_file_space or xfs_free_file_space directly from xfs_file_fallocate instead of going through xfs_change_file_space.

This simplified the code by removing the unessecary marshalling of the arguments into an xfs_flock64_t structure and allows removing checks that are already done in the VFS code.

commit 5f8aca8b43f41c4b2d4dc5389124a40cab92b644

Author: Christoph Hellwig <[email protected]>
Date:   Sat Oct 12 00:55:06 2013 -0700

xfs: always hold the iolock when calling xfs_change_file_space

Currently fallocate always holds the iolock when calling into xfs_change_file_space, while the ioctl path lets some of the lower level functions take it, but leave it out in others.

This patch makes sure the ioctl path also always holds the iolock and thus introduces consistent locking for the preallocation operations while simplifying the code and allowing to kill the now unused XFS_ATTR_NOLOCK flag.

commit 001a3e73706fcb8c52dcca1d4742679384d04184

Author: Christoph Hellwig <[email protected]>
Date:   Sat Oct 12 00:55:05 2013 -0700

xfs: remove the unused XFS_ATTR_NONBLOCK flag

commit 76ca4c238cf5858f8ba5bcd24c94c23717f1e14e

Author: Christoph Hellwig <[email protected]>
Date:   Mon Oct 14 07:09:35 2013 -0700

xfs: always take the iolock around xfs_setattr_size

There is no reason to conditionally take the iolock inside xfs_setattr_size when we can let the caller handle it unconditionally, which just incrases the lock hold time for the case where it was previously taken internally by a few instructions.

-----------------------------------------------------------------------

Summary of changes:

 fs/xfs/xfs_bmap_util.c | 277 ++++---------------------------------------------
 fs/xfs/xfs_bmap_util.h |   9 +-
 fs/xfs/xfs_file.c      |  76 +++++++++-----
 fs/xfs/xfs_ioctl.c     | 133 ++++++++++++++++++++++--
 fs/xfs/xfs_iops.c      |  39 +++----
 fs/xfs/xfs_iops.h      |   8 +-
 6 files changed, 223 insertions(+), 319 deletions(-)

hooks/post-receive

Signature · 6 lines
XFS development tree

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs