linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Scott E. Blomquist" <sb@techsquare.com>
To: Jojo <jojo@automatix.de>
Cc: "Scott E. Blomquist" <sb@techsquare.com>, linux-btrfs@vger.kernel.org
Subject: Re: btrfs hang on nfs?
Date: Wed, 9 Jan 2019 08:31:14 -0500	[thread overview]
Message-ID: <23605.63394.330818.203495@techsquare.com> (raw)
In-Reply-To: <6d8d3b43-dc73-42b8-7c70-2fb8a3b0d98c@automatix.de>


Jojo writes:
 > 
 > Within scheduler there were some changes according to device queueing.
 > Kernels after 4.16 and before 4.19.8 were problematic, as we recognized
 > here.
 > This seemed to be a regression on the "kyber" scheduler, as recognized here:
 > [root@pc7 sysctl.d]# cat /sys/block/sdc/queue/scheduler
 > mq-deadline [kyber] bfq none
 > 
 > As work around you may change the disc scheduler to an "old" one, like
 > 
 > Test it like this for all of your devices:
 > root@pc7:~/ # echo bfq > /sys/block/sdX/queue/scheduler
 > 
 > For permanent add a file config to your /etc/sysctl.d.
 > EXAMPLE, edit it to your requirements.
 > 
 > [root@pc7 sysctl.d]# cat /etc/sysctl.d/90-sysscheduler.conf
 > #disk scheduler
 > block.sda.queue.scheduler = md-deadline
 > block.sdb.queue.scheduler = md-deadline
 > block.sdg.queue.scheduler = bfq
 > block.sdh.queue.scheduler = bfq
 > block.sdi.queue.scheduler = bfq
 > 
 > 
 > Hope this may help you.
 > It did work for me here.
 > 
 > Better Idea is to upgrade the kernel to 4.19.13 (which is a LTS Kernel)
 > 
 > mit freundlichen Gr  en
 > J rgen Sauer

Thank you so much, I would have never guessed that.

In my case the scheduler was set to deadline

    cat /sys/block/sd[a-c]/queue/scheduler
    noop [deadline] cfq
    noop [deadline] cfq
    noop [deadline] cfq

I have set it to cfq, I did not see an option for bfq.

I am also building 4.19.13 and will swap that in ASAP.

Thanks again,

Cheers,

sb. Scott Blomquist

  reply	other threads:[~2019-01-09 13:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-09 10:54 btrfs hang on nfs? Scott E. Blomquist
2019-01-09 12:14 ` Jojo
2019-01-09 13:31   ` Scott E. Blomquist [this message]
2019-01-10 11:46     ` Scott E. Blomquist
2019-01-10 11:51       ` Nikolay Borisov
2019-01-10 12:00         ` Scott E. Blomquist
2019-01-14 11:42           ` Scott E. Blomquist
2019-01-14 12:11             ` Nikolay Borisov
2019-01-14 13:13               ` Scott E. Blomquist
2019-01-14 13:28                 ` Nikolay Borisov
2019-01-15  8:16                 ` Nikolay Borisov
2019-01-15 14:36                   ` Scott E. Blomquist

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=23605.63394.330818.203495@techsquare.com \
    --to=sb@techsquare.com \
    --cc=jojo@automatix.de \
    --cc=linux-btrfs@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).