Message ID | 4E2478B1.60601@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Jul 18, 2011 at 11:47 PM, Josef Bacik <josef@redhat.com> wrote: > On 06/06/2011 06:58 PM, Nirbheek Chauhan wrote: >> What can I do to debug this issue? What other information should I >> supply? Could someone guide me on how to figure out why my machine is >> unusable now? > > I've been looking into this and I have a suspicion. Would you run with this > patch and see if the problem goes away? If so I'm on the right track > and I'll > have more test patches for you to try :). Thanks, > Hello! Thanks for taking a look! I'm currently travelling and as soon as I get a bit closer to my backups, I'll try the patch out and report back for further testing :) Cheers,
On Mon, 2011-07-18 at 14:17 -0400, Josef Bacik wrote: > I've been looking into this and I have a suspicion. Would you run > with this patch and see if the problem goes away? Didn't help me. 2.6.39 is not usable. 3.0.0 is ok for a few hours then too becomes unusable. This is discussed in future threads, eg "Btrfs slowdown". dumbing out fsync (libeatmydata) only gives marginal improvements... ~mck
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 19450bc..2e30350 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -150,7 +150,6 @@ static noinline int run_scheduled_bios(struct btrfs_device *device) * another device without first sending all of these down. * So, setup a plug here and finish it off before we return */ - blk_start_plug(&plug); bdi = blk_get_backing_dev_info(device->bdev);