]> git.baikalelectronics.ru Git - kernel.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)
commitbc0f649da3c6362ae5b1e4d9affd8c75972308a4
treedd7c06a8ef0b8ae635114a25bba63d82737eba24
parent1ec79bc70f3b0fe2e0d1bd8f925750d8ace738f1
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