Re: [PATCH 61/78] zram: do not call set_blocksize

Hannes Reinecke
2020-11-20T07:38:11Z

On 11/16/20 3:57 PM, Christoph Hellwig wrote:
> set_blocksize is used by file systems to use their preferred buffer cache
> block size. Block drivers should not set it.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/block/zram/zram_drv.c | 11 +----------
> drivers/block/zram/zram_drv.h | 1 -
> 2 files changed, 1 insertion(+), 11 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer