All of lore.kernel.org
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@lst.de>, stable@vger.kernel.org
Subject: Re: + fat-add-nobarrier-to-workaround-the-strange-behavior-of-device.patch added to -mm tree
Date: Wed, 03 Jul 2019 23:13:52 +0900	[thread overview]
Message-ID: <87pnmrjjdr.fsf@mail.parknet.co.jp> (raw)
In-Reply-To: <20190702160343.0b1fd99491f7b257f68ad82c@linux-foundation.org> (Andrew Morton's message of "Tue, 2 Jul 2019 16:03:43 -0700")

Andrew Morton <akpm@linux-foundation.org> writes:

> On Wed, 3 Jul 2019 00:50:53 +0200 Christoph Hellwig <hch@lst.de> wrote:
>
>> I still very fundamentally disagree with this patch.  We did a concerted
>> effort around the other file systems to move to the device level tweak
>> and remove the badly misnamed option, so we should not add it now for
>> fat.
>
> OK, thanks, I'll leave it on hold for now.

I've checked v5.1, you mentioned "cache_type" (scsi specific
unfortunately). It calls blk_queue_write_cache(), so it calls
wbt_set_write_cache() too. So it affects to writeback throttling.

Is this intended one? At least, it was not what I expected. It is why I
asked side effect of it repeatedly in that thread.

True candidate looks like block layer's "write_cache" introduced after
v4.6. It doesn't call wbt_set_write_cache(). However, I worry if this is
intent or bug, behave like "cache_type". Did this get consensus to
replace "nobarrier" (I hope so)?

If not, I even can't recommend "write_cache", instead of "nobarrier" as
documenting, and we need real replacement to just disable flush command.

Thanks.
-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

      reply	other threads:[~2019-07-03 14:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-02 22:49 + fat-add-nobarrier-to-workaround-the-strange-behavior-of-device.patch added to -mm tree akpm
2019-07-02 22:50 ` Christoph Hellwig
2019-07-02 23:03   ` Andrew Morton
2019-07-03 14:13     ` OGAWA Hirofumi [this message]

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=87pnmrjjdr.fsf@mail.parknet.co.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=akpm@linux-foundation.org \
    --cc=hch@lst.de \
    --cc=stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.