The patch set has been updated per reviewer suggestions, all changes are noted in the change log for each patch. The most notable change is the addition of xfs_inode_select_target and the refactoring which took place as a result of this. This cleaned things up as the policy code could be contained in this function nicely. I still kept the two functions for the alloc_min and fallback_pct tunables in their own functions, as I didn't want to clutter up this function with the policy logic (however little). Patch set based off Linux 4.12 (commit 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c) located @ https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git; I also have a clean patch set for Linus' tree (@ 4.14-rc2) if that's preferred. Richard Wareing (3): xfs: Show realtime device stats on statfs calls if inherit flag set xfs: Set realtime flag based on initial allocation size xfs: Add realtime fallback if data device full fs/xfs/xfs_bmap_util.c | 2 ++ fs/xfs/xfs_fsops.c | 2 ++ fs/xfs/xfs_inode.c | 18 +++++++---- fs/xfs/xfs_iomap.c | 5 +++ fs/xfs/xfs_linux.h | 2 ++ fs/xfs/xfs_mount.c | 24 +++++++++++++++ fs/xfs/xfs_mount.h | 9 ++++++ fs/xfs/xfs_rtalloc.c | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ fs/xfs/xfs_rtalloc.h | 2 ++ fs/xfs/xfs_super.c | 8 +++++ fs/xfs/xfs_sysfs.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++ 11 files changed, 224 insertions(+), 6 deletions(-) -- 2.9.5 -- 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