Hi all, Here's v2 of the skip discards series. The only difference from the previous version is some factoring cleanups. This has since passed more (online discard enabled) xfstests runs without exploding. Thoughts, reviews, flames appreciated. Brian v2: - Minor cleanups. - Dropped the eofblocks unwritten extent rfc. v1: https://marc.info/?l=linux-xfs&m=152571670220480&w=2 - Define and use bmapi flag for eofblocks trims. - Separate patch to skip discards of unwritten extents. - Various factoring cleanups. rfc: https://marc.info/?l=linux-xfs&m=152476598825563&w=2 Brian Foster (3): xfs: add bmapi nodiscard flag xfs: skip online discard during eofblocks trims xfs: don't discard on free of unwritten extents fs/xfs/libxfs/xfs_alloc.c | 10 +++++++--- fs/xfs/libxfs/xfs_alloc.h | 27 +++++++++++++++++++++++++-- fs/xfs/libxfs/xfs_bmap.c | 18 ++++++++++++++---- fs/xfs/libxfs/xfs_bmap.h | 30 ++++++++++++++++++++++++++++-- fs/xfs/xfs_bmap_util.c | 4 ++-- fs/xfs/xfs_extfree_item.c | 2 +- fs/xfs/xfs_inode.c | 19 +++++++++++-------- fs/xfs/xfs_inode.h | 24 ++++++++++++++++++++++-- fs/xfs/xfs_trans.h | 3 ++- fs/xfs/xfs_trans_extfree.c | 13 +++++++++---- 10 files changed, 121 insertions(+), 29 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html