Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1546117
| From | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 2/3] zram: revalidate disk under init_lock |
| Date | 2016-12-22 02:40 +0100 |
| Message-ID | <sR0wp-2DI-5@gated-at.bofh.it> (permalink) |
| References | <sQZAl-23J-5@gated-at.bofh.it> <sQZAl-23J-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On (12/22/16 09:36), 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.
>
> [1] b4c5c60920e3: zram: avoid lockdep splat by revalidate_disk
> [2] 08eee69fcf6b: zram: remove init_lock in zram_make_request
>
> Fixes: da9556a2367c ("zram: user per-cpu compression streams")
> Cc: <stable@vger.kernel.org> [4.7+]
> Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
-ss
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v4 2/3] zram: revalidate disk under init_lock Minchan Kim <minchan@kernel.org> - 2016-12-22 01:40 +0100 Re: [PATCH v4 2/3] zram: revalidate disk under init_lock Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-12-22 02:40 +0100
csiph-web