From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752202AbdHNBjR (ORCPT ); Sun, 13 Aug 2017 21:39:17 -0400 Received: from mail-pg0-f44.google.com ([74.125.83.44]:33868 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751540AbdHNBjQ (ORCPT ); Sun, 13 Aug 2017 21:39:16 -0400 Date: Mon, 14 Aug 2017 10:39:30 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ross Zwisler , "karam . lee" , seungho1.park@lge.com, Matthew Wilcox , Christoph Hellwig , Dan Williams , Dave Chinner , jack@suse.cz, Jens Axboe , Vishal Verma , linux-nvdimm@lists.01.org, kernel-team , Senozhatsky , Ilya Dryomov Subject: Re: [PATCH v2 1/7] zram: set BDI_CAP_STABLE_WRITES once Message-ID: <20170814013930.GA603@jagdpanzerIV.localdomain> References: <1502428647-28928-1-git-send-email-minchan@kernel.org> <1502428647-28928-2-git-send-email-minchan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1502428647-28928-2-git-send-email-minchan@kernel.org> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Ilya Dryomov > Signed-off-by: Minchan Kim Reviewed-by: Sergey Senozhatsky -ss