diff options
author | 2021-06-17 13:55:04 +0200 | |
---|---|---|
committer | 2021-06-22 22:02:20 -0400 | |
commit | d1b7f92035c6fb42529ada531e2cbf3534544c82 (patch) | |
tree | 15b7cb92667c77c0999097fb538f29b7a752116d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: sr: Return appropriate error code when disk is ejected (diff) | |
download | wireguard-linux-d1b7f92035c6fb42529ada531e2cbf3534544c82.tar.xz wireguard-linux-d1b7f92035c6fb42529ada531e2cbf3534544c82.zip |
scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)
While the disk state has nothing to do with partitions, BLKRRPART is used
to force a full revalidate after things like a disk format for historical
reasons. Restore that behavior.
Link: https://lore.kernel.org/r/20210617115504.1732350-1-hch@lst.de
Fixes: 471bd0af544b ("sd: use bdev_check_media_change")
Reported-by: Xiang Chen <chenxiang66@hisilicon.com>
Tested-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions