[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161126063832.GB521@tigerII>
Date: Sat, 26 Nov 2016 15:38:32 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Minchan Kim <minchan@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Takashi Iwai <tiwai@...e.de>,
Hyeoncheol Lee <cheol.lee@....com>, yjay.kim@....com,
Sangseok Lee <sangseok.lee@....com>,
Hugh Dickins <hughd@...gle.com>, stable@...r.kernel.org
Subject: Re: [PATCH v3 2/3] zram: revalidate disk under init_lock
Hi,
On (11/25/16 17:35), Minchan Kim wrote:
> [1] moved revalidate_disk call out of init_lock to avoid lockdep
> false-positive splat. However, [2] remove init_lock in IO path
> so there is no worry about lockdep splat. So, let's restore it.
> This patch need to set BDI_CAP_STABLE_WRITES atomically in
> next patch.
can we break that dependency on the next patch if we would
set BDI_CAP_STABLE_WRITES when we allocate the queue?
queue->backing_dev_info.capabilities |= BDI_CAP_CGROUP_WRITEBACK;
-ss
Powered by blists - more mailing lists