Re: [PATCH v2 1/7] zram: set BDI_CAP_STABLE_WRITES once

From: Sergey Senozhatsky
Date: Sun Aug 13 2017 - 21:39:21 EST


On (08/11/17 14:17), Minchan Kim wrote:
> [1] fixed weird thing(i.e., reset BDI_CAP_STABLE_WRITES flag
> unconditionally whenever revalidat_disk is called) so zram doesn't
> need to reset the flag any more whenever revalidating the bdev.
> Instead, set the flag just once when the zram device is created.
>
> It shouldn't change any behavior.
>
> [1] 19b7ccf8651d, block: get rid of blk_integrity_revalidate()
> Cc: Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> Cc: Ilya Dryomov <idryomov@xxxxxxxxx>
> Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

-ss