Re: filesystem dead, xfs_repair won't help

Avi Kivity
2017-04-12T16:24:22Z

On 04/12/2017 07:22 PM, Eric Sandeen wrote:
> On 4/12/17 11:20 AM, Christoph Hellwig wrote:
>> On Wed, Apr 12, 2017 at 07:15:40PM +0300, Avi Kivity wrote:
>>> This preserves the ability to do O_DIRECT reads at 512 byte granularity,
>>> yes?
>> No.
>>
>>> We make use of that (it's probably less important on NVMe; still why
>>> waste bandwidth needlessly).
>> In that case it would be the wrong thing for you.
> And it would be really interesting to see if the 512-byte DIOs you
> issue under ext4 might trigger the same problem in the firmware.

We only issue 512-byte reads, writes are always 4096-byte aligned (and
usually 128k).

The disk that crashed was my /home; it did see some database loads, but
not much.

>
> (This is all pure speculation, but that's all we've got) ;)
>
> -Eric