[PATCH] xfststs: add a helper to get the minimum dio size
Eric Sandeen
sandeen at sandeen.net
Tue Nov 12 12:32:32 CST 2013
On 11/12/13, 12:30 PM, Christoph Hellwig wrote:
> 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.
>
Ah, sure. So when running on NFS the blkdev is unset. Wasn't thinking
about it that way, thanks.
-Eric
More information about the xfs
mailing list