[Top] [All Lists]

Re: [PATCH RFC] xfs: set block device logical sector size on xfs_buftarg

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH RFC] xfs: set block device logical sector size on xfs_buftarg
From: Ric Wheeler <ricwheeler@xxxxxxxxx>
Date: Thu, 14 Nov 2013 22:09:45 +0900
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=78+zZxpAqWqZUR7rqMh1tASdzl9DiKYZPq2eAVMZ/fg=; b=AmarIhMwQtZGKj6RlNxVsOwWbXyFPVY3FruU+CBygMfnJ6P9nxQ1cSlktoYGh4GIgQ IcR+2W7UWnBAnrtd97NTf9/mQpEKaaeDC55sqfD/w4R0AxFsgv5Lg7olhmVOPvMjUveI DyC0XrE1K52FWEC+a5DSjh/GuyvXyxpYKmmxX5q9xm/rHG+sNjQjEXlibnPvx7z3BHYg +djACTSnbnqshmurThjov9TplyAn452pAfF8Wzk4Cj/RNEsgu5SbBuW4iCg/AdtRGd0Y nnK7Y5zvhDSDbzLnYUtsN6hrEi1+8KDDSDqzO4cSrouqcZmtW+4/8bHT/4Px8bpnra/T iVCA==
In-reply-to: <20131114064932.GO6188@dastard>
References: <5283C41D.7070503@xxxxxxxxxx> <52841AB9.9050906@xxxxxxxxxxx> <20131114064932.GO6188@dastard>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

(large snip)

On 11/14/2013 03:49 PM, Dave Chinner wrote:
(I'm sympathetic to pushing the envelope and dragging apps into the 21st
>century, but it's s double edged sword).
Yes, it is, but if we don't take a stand and say "we, as an
ecosystem, need to support 4k sectors*everywhere*", then we are
going to have such problems*forever*. This isn't purely an XFS
problem - this is something that the entire storage stack needs to
support, from the hardware at the very bottom to the applications at
the very top.

XFS is stuck in the middle, where we cop it from both
the hardware side ("why don't you support our hardware efficiently
yet?") and from the application side when we do ("4k sectors break
our assumptions!"). It's a no win situation for us no matter what we
do, and history has shown that when we don't take a strong
leadership position the problems don't get solved.

So, let's take the initiative and make sure that everyone knows how
to deal with these problems and get them fixed in the right places.
I don't want to be spending the next 10 years complaining about a
lack of 4k sector support in qemu. It's too much like the inode64
saga over all over again.

Let's face it, it wouldn't be right if XFS wasn't fighting some
battle to drag Linux kicking and screaming into the present...



I would agree that we should not to hit our 4K sector support, have we reached out the the KVM/QEMU people to see if we can get them to fix this on their side?


<Prev in Thread] Current Thread [Next in Thread>