[PATCH] xfststs: add a helper to get the minimum dio size

Christoph Hellwig hch at infradead.org
Tue Nov 12 12:30:31 CST 2013


On Tue, Nov 12, 2013 at 12:13:16PM -0600, Eric Sandeen wrote:
> On 11/6/13, 4:59 AM, Christoph Hellwig wrote:
> > Various tests opencode checks to find out the minimum support direct I/O
> > size.  Replace those with a generic helper that handles network filesystems as
> > well.  Also remove the Linux 2.4 workaround we had in once place.
> > 
> > Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> No callers of min_dio_alignment w/o a blockdev right?  But I guess
> that fallback is harmless.

All network filesystems will not have a device here.  Not sure how the
btrfs pool names work, but that would be another suspect.



More information about the xfs mailing list