From: Konstantinos Skarlatos <k.skarlatos@gmail.com>
To: Jens Axboe <axboe@fb.com>, linux-kernel@vger.kernel.org
Cc: linux-btrfs@vger.kernel.org
Subject: Re: commit 762380a "block: add notion of a chunk size for request merging" stops io on btrfs
Date: Wed, 18 Jun 2014 10:21:13 +0300 [thread overview]
Message-ID: <53A13DE9.4020001@gmail.com> (raw)
In-Reply-To: <53A0F54F.2060205@fb.com>
On 18/6/2014 5:11 πμ, Jens Axboe wrote:
> On 2014-06-17 14:35, Konstantinos Skarlatos wrote:
>> Hi all,
>> with 3.16-rc1 rsync stops writing to my btrfs filesystem and stays at a
>> D+ state.
>> git bisect showed that the problematic commit is:
>>
>> 762380ad9322951cea4ce9d24864265f9c66a916 is the first bad commit
>> commit 762380ad9322951cea4ce9d24864265f9c66a916
>> Author: Jens Axboe <axboe@fb.com>
>> Date: Thu Jun 5 13:38:39 2014 -0600
>>
>> block: add notion of a chunk size for request merging
>>
>> Some drivers have different limits on what size a request should
>> optimally be, depending on the offset of the request. Similar to
>> dividing a device into chunks. Add a setting that allows the driver
>> to inform the block layer of such a chunk size. The block layer
>> will
>> then prevent merging across the chunks.
>>
>> This is needed to optimally support NVMe with a non-zero stripe
>> size.
>>
>> Signed-off-by: Jens Axboe <axboe@fb.com>
>
> That's odd, should not have any effect since nobody enables stripe
> sizes in the kernel. I'll double check, perhaps it's not always being
> cleared.
>
> Ah wait, does the attached help?
Yes, it works! I recompiled at commit
762380ad9322951cea4ce9d24864265f9c66a916 with your patch and it looks
ok. Rebooted back to the unpatched kernel and the bug showed up again
immediately.
The funny thing is that the problem only showed on my (multi-disk) btrfs
filesystem. / which is on ext4 seems to work fine.
>
>
next prev parent reply other threads:[~2014-06-18 7:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <53A0B491.1040901@gmail.com>
2014-06-17 21:38 ` commit 762380a "block: add notion of a chunk size for request merging" stops io on btrfs Konstantinos Skarlatos
2014-06-18 2:11 ` Jens Axboe
2014-06-18 7:21 ` Konstantinos Skarlatos [this message]
2014-06-18 16:02 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53A13DE9.4020001@gmail.com \
--to=k.skarlatos@gmail.com \
--cc=axboe@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).