Re: [PATCH 04/24] sd: update the bdev size in sd_revalidate_disk

2020-11-11 Thread Hannes Reinecke
On 11/11/20 9:26 AM, Christoph Hellwig wrote: This avoids the extra call to revalidate_disk_size in sd_rescan and is otherwise a no-op because the size did not change, or we are in the probe path. Signed-off-by: Christoph Hellwig Acked-by: Martin K. Petersen --- drivers/scsi/sd.c | 8 +++

[PATCH 04/24] sd: update the bdev size in sd_revalidate_disk

2020-11-11 Thread Christoph Hellwig
This avoids the extra call to revalidate_disk_size in sd_rescan and is otherwise a no-op because the size did not change, or we are in the probe path. Signed-off-by: Christoph Hellwig Acked-by: Martin K. Petersen --- drivers/scsi/sd.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-

Re: [PATCH 04/24] sd: update the bdev size in sd_revalidate_disk

2020-11-10 Thread Martin K. Petersen
Christoph, > This avoids the extra call to revalidate_disk_size in sd_rescan and > is otherwise a no-op because the size did not change, or we are in > the probe path. Acked-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

[PATCH 04/24] sd: update the bdev size in sd_revalidate_disk

2020-11-06 Thread Christoph Hellwig
This avoids the extra call to revalidate_disk_size in sd_rescan and is otherwise a no-op because the size did not change, or we are in the probe path. Signed-off-by: Christoph Hellwig --- drivers/scsi/sd.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/s