]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: cleanup calculating the stat optimal I/O size
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Oct 2019 15:41:43 +0000 (08:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 29 Oct 2019 16:50:12 +0000 (09:50 -0700)
commitdd2d535e3fb29d744aa8905c7d55199ce6bbfa49
treedd7c06a8ef0b8ae635114a25bba63d82737eba24
parent69e8575dee424eebc4a3f96b5af11b858c5885e0
xfs: cleanup calculating the stat optimal I/O size

Move xfs_preferred_iosize to xfs_iops.c, unobsfucate it and also handle
the realtime special case in the helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_iops.c
fs/xfs/xfs_mount.h