Christoph Hellwig
ace31c91fd
scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)
...
[ Upstream commit d1b7f92035c6fb42529ada531e2cbf3534544c82 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:47:24 -04:00
..
2020-12-30 11:53:02 +01:00
2020-10-14 15:15:35 -07:00
2021-03-25 09:04:11 +01:00
2020-10-23 16:19:02 -07:00
2020-10-14 15:15:35 -07:00
2020-12-03 15:40:40 -05:00
2020-10-23 16:19:02 -07:00
2021-06-16 12:01:36 +02:00
2020-12-02 12:59:04 -05:00
2020-10-14 15:15:35 -07:00
2021-01-06 14:56:51 +01:00
2020-10-16 12:21:15 -07:00
2021-05-11 14:47:28 +02:00
2020-03-11 23:07:59 -04:00
2020-10-14 15:15:35 -07:00
2020-10-23 16:19:02 -07:00
2021-02-07 15:37:14 +01:00
2021-06-16 12:01:37 +02:00
2021-05-14 09:50:27 +02:00
2020-08-23 17:36:59 -05:00
2021-03-25 09:04:12 +01:00
2021-05-11 14:47:31 +02:00
2021-06-03 09:00:50 +02:00
2021-05-22 11:40:53 +02:00
2021-01-27 11:55:06 +01:00
2021-05-11 14:47:13 +02:00
2021-03-25 09:04:11 +01:00
2020-08-23 17:36:59 -05:00
2021-06-03 09:00:44 +02:00
2021-06-18 10:00:05 +02:00
2021-03-30 14:32:07 +02:00
2021-06-16 12:01:37 +02:00
2020-10-23 16:19:02 -07:00
2021-05-11 14:47:27 +02:00
2020-10-07 23:50:03 -04:00
2020-10-23 16:19:02 -07:00
2021-06-03 09:00:43 +02:00
2020-03-25 11:50:48 +01:00
2019-02-25 21:37:25 -05:00
2019-03-02 11:39:54 -08:00
2019-10-23 17:23:44 +02:00
2020-10-23 16:19:02 -07:00
2020-09-25 06:20:43 +02:00
2019-01-08 07:58:37 -05:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2019-05-21 10:50:45 +02:00
2020-02-18 00:39:54 -05:00
2020-07-08 01:12:53 -04:00
2019-05-21 10:50:45 +02:00
2020-03-26 21:10:53 -04:00
2019-05-21 10:50:45 +02:00
2019-11-12 22:21:34 -05:00
2019-11-12 22:21:35 -05:00
2021-06-03 09:00:43 +02:00
2021-06-03 09:00:43 +02:00
2019-05-21 10:50:45 +02:00
2020-02-24 14:54:25 -05:00
2020-04-01 22:03:04 -04:00
2020-10-07 21:48:28 -04:00
2019-05-24 17:36:45 +02:00
2020-09-01 22:15:47 -04:00
2020-03-11 23:07:59 -04:00
2020-08-23 17:36:59 -05:00
2019-12-19 22:08:51 -05:00
2020-09-02 22:49:07 -04:00
2019-06-18 19:46:18 -04:00
2019-07-30 12:17:28 -04:00
2020-07-08 01:12:44 -04:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2019-01-08 21:58:35 -05:00
2020-03-17 13:36:10 -04:00
2019-01-08 21:57:42 -05:00
2020-10-07 21:48:28 -04:00
2019-01-08 21:58:35 -05:00
2020-06-09 09:39:13 -07:00
2021-06-16 12:01:47 +02:00
2020-09-02 22:49:06 -04:00
2020-10-29 21:55:21 -04:00
2020-09-02 22:49:06 -04:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2020-08-23 17:36:59 -05:00
2020-10-07 21:48:28 -04:00
2020-08-06 16:50:07 -07:00
2020-07-15 17:26:58 -04:00
2020-07-24 22:32:00 -04:00
2020-06-02 21:23:47 -04:00
2020-10-13 12:12:44 -07:00
2019-05-30 11:26:37 -07:00
2021-05-14 09:50:27 +02:00
2020-07-24 22:09:55 -04:00
2020-06-09 09:39:13 -07:00
2020-10-02 15:27:08 -07:00
2021-03-17 17:06:25 +01:00
2020-06-09 09:39:13 -07:00
2020-10-02 21:52:53 -04:00
2019-11-12 22:21:34 -05:00
2019-07-17 22:39:27 +09:00
2020-10-14 15:15:35 -07:00
2020-08-23 17:36:59 -05:00
2019-05-21 10:50:45 +02:00
2020-06-09 09:39:13 -07:00
2020-10-02 21:42:22 -04:00
2020-03-11 23:07:56 -04:00
2020-10-23 16:19:02 -07:00
2020-01-02 21:57:44 -05:00
2021-03-25 09:04:09 +01:00
2020-01-02 21:57:44 -05:00
2020-08-23 17:36:59 -05:00
2019-05-24 17:36:45 +02:00
2020-08-23 17:36:59 -05:00
2019-06-20 15:37:02 -04:00
2020-09-15 17:34:18 -04:00
2019-05-24 17:39:02 +02:00
2020-09-09 22:40:41 -04:00
2020-03-11 23:07:56 -04:00
2020-08-23 17:36:59 -05:00
2019-05-30 11:26:38 -07:00
2020-09-09 22:37:48 -04:00
2020-01-15 23:09:11 -05:00
2019-03-19 17:11:37 -04:00
2018-12-18 23:19:21 -05:00
2020-10-14 15:15:35 -07:00
2019-02-13 22:07:03 -05:00
2019-06-05 17:37:17 +02:00
2019-05-24 17:36:45 +02:00
2021-02-17 11:02:27 +01:00
2019-07-30 12:42:55 -04:00
2019-05-21 06:16:21 -04:00
2021-06-18 10:00:05 +02:00
2020-07-08 01:16:23 -04:00
2020-10-14 15:15:35 -07:00
2020-08-23 17:36:59 -05:00
2021-01-12 20:18:16 +01:00
2020-07-24 22:09:57 -04:00
2019-12-19 22:08:54 -05:00
2019-05-30 11:26:35 -07:00
2020-07-24 22:09:55 -04:00
2020-10-02 18:53:06 -04:00
2020-02-04 03:05:26 +00:00
2020-10-26 16:05:34 -04:00
2019-05-30 11:29:53 -07:00
2020-10-06 08:33:44 -06:00
2020-03-16 22:08:36 -04:00
2020-09-02 22:49:07 -04:00
2021-03-07 12:34:14 +01:00
2020-08-04 20:56:56 -04:00
2021-01-12 20:18:15 +01:00
2021-04-21 13:00:52 +02:00
2020-06-19 23:06:43 -04:00
2020-03-24 07:57:08 -06:00
2019-06-05 17:37:14 +02:00
2021-03-04 11:38:21 +01:00
2021-06-30 08:47:24 -04:00
2020-10-14 15:15:35 -07:00
2020-09-15 20:28:06 -04:00
2019-07-11 15:14:01 -07:00
2020-10-03 00:02:13 -04:00
2020-09-25 06:20:44 +02:00
2019-05-24 17:36:45 +02:00
2021-05-14 09:50:27 +02:00
2020-02-24 14:59:01 -05:00
2020-10-23 16:19:02 -07:00
2020-02-24 15:01:57 -05:00
2021-04-07 15:00:05 +02:00
2020-03-11 23:07:56 -04:00
2020-12-11 09:56:17 -05:00
2020-08-23 17:36:59 -05:00
2021-05-14 09:50:27 +02:00
2020-10-02 21:52:55 -04:00
2020-10-14 15:15:35 -07:00
2021-06-16 12:01:37 +02:00
2020-08-23 17:36:59 -05:00
2019-05-24 17:39:02 +02:00
2019-07-11 15:14:01 -07:00
2020-08-23 17:36:59 -05:00
2020-01-06 09:45:59 +01:00
2019-05-21 10:50:45 +02:00
2020-06-09 09:39:13 -07:00