Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1530873

Re: [PATCH v3 3/3] zram: support BDI_CAP_STABLE_WRITES

From Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/3] zram: support BDI_CAP_STABLE_WRITES
Date 2016-11-27 14:10 +0100
Message-ID <sI7nr-4GE-3@gated-at.bofh.it> (permalink)
References <sHkwp-6MV-9@gated-at.bofh.it> <sHkwq-6MV-47@gated-at.bofh.it> <sHEOt-2YC-1@gated-at.bofh.it> <sHMsG-7SF-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On (11/26/16 23:41), Minchan Kim wrote:
[..]
> > >  	mutex_lock(&bdev->bd_mutex);
> > 
> > why not set it just once, when we allocate queue/disk and configure both
> > of them:  in zram_add()
> 
> I should have mentioned the reason.
> The revalidate_disk reset the BDI_CAP_STABLE_WRITES.

aha. either sets or clears it in blk_integrity_revalidate(),
now I see it.

	-ss

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v3 3/3] zram: support BDI_CAP_STABLE_WRITES Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-26 07:40 +0100
  Re: [PATCH v3 3/3] zram: support BDI_CAP_STABLE_WRITES Minchan Kim <minchan@kernel.org> - 2016-11-26 15:50 +0100
    Re: [PATCH v3 3/3] zram: support BDI_CAP_STABLE_WRITES Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-27 14:10 +0100

csiph-web