Thread (37 messages) 37 messages, 5 authors, 2020-11-12

Re: [PATCH 05/24] block: remove the update_bdev parameter from set_capacity_revalidate_and_notify

From: Hannes Reinecke <hare@suse.de>
Date: 2020-11-11 13:07:52
Also in: ceph-devel, dm-devel, linux-block, linux-fsdevel, linux-nvme, linux-scsi, xen-devel

On 11/11/20 9:26 AM, Christoph Hellwig wrote:
The update_bdev argument is always set to true, so remove it.  Also
rename the function to the slighly less verbose set_capacity_and_notify,
as propagating the disk size to the block device isn't really
revalidation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
  block/genhd.c                | 13 +++++--------
  drivers/block/loop.c         | 11 +++++------
  drivers/block/virtio_blk.c   |  2 +-
  drivers/block/xen-blkfront.c |  2 +-
  drivers/nvme/host/core.c     |  2 +-
  drivers/scsi/sd.c            |  5 ++---
  include/linux/genhd.h        |  3 +--
  7 files changed, 16 insertions(+), 22 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help