lkml.org 
[lkml]   [2016]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 3/3] zram: support BDI_CAP_STABLE_WRITES
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

\
 
 \ /
  Last update: 2016-11-27 14:03    [W:0.047 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site