Re: [PATCH] generic/285: discover allocation size for NFS

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Sun, Oct 16, 2016 at 06:18:13AM -0400, Benjamin Coddington wrote:
> On 16 Oct 2016, at 3:17, Christoph Hellwig wrote:
> 
> > On Fri, Oct 14, 2016 at 06:28:37AM -0400, Benjamin Coddington wrote:
> >> On NFS, try to discover the allocation size for the exported filesystem.
> >> NFS st_blksize is optimized for the network, and will usually be much
> >> larger than the allocation size of the exported filesystem, which may
> >> trigger preallocation strategies in the exported filesystem causing the
> >> seek tests here to fail.
> >
> > Is there a reason not to use your new evidence-based check for all
> > file systems?
> 
> Only that on the filesystems I've checked (ext4, xfs, btrfs, tmpfs)
> st_blksize is correct, so trying to discover it is unnecessary.

As I've said previously, mount options (e.g. -o largeio) can change
what XFS reports in st_blksize such that it behaves like the NFS
client...

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux