linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* regression on BLKRRPART ioctl for EIO
@ 2024-02-07  4:28 Saranya Muruganandam
  2024-02-12 15:44 ` Christoph Hellwig
  0 siblings, 1 reply; 10+ messages in thread
From: Saranya Muruganandam @ 2024-02-07  4:28 UTC (permalink / raw)
  To: linux-block, hch, Jens Axboe, sashal, Ming Lei

Hi,

I am noticing a regression on the BLKRRPART ioctl after we changed the
blkdev_reread_part() logic to reopen the device with commit
68e6582e8f2dc32fd2458b9926564faa1fb4560e["reopen the device in
blkdev_reread_part"]

We now ignore the errors that used to be returned for
bdev_disk_changed(). I see that this was explicitly fixed for -EBUSY
(commit 68e6582e8f2dc32fd2458b9926564faa1fb4560e: block: return -EBUSY
when there are open partitions in blkdev_reread_part)

The regression I am particularly interested in is when we get an -EIO
error from the disk and BLKRRPART incorrectly reports success when it
actually failed to reread partitions.

Looking for advice.

Thanks,
Saranya

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-05  2:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-07  4:28 regression on BLKRRPART ioctl for EIO Saranya Muruganandam
2024-02-12 15:44 ` Christoph Hellwig
     [not found]   ` <CAP9s-Sr3_GVYBv-XObPRC9L27jJoQqX40d8g3gysEmy6VdQS1Q@mail.gmail.com>
2024-02-13  4:01     ` Saranya Muruganandam
2024-02-27  2:38       ` Saranya Muruganandam
2024-02-27  3:13         ` Yu Kuai
2024-03-07 18:14           ` Saranya Muruganandam
2024-03-08 16:32             ` Christoph Hellwig
2024-03-20  0:20               ` Saranya Muruganandam
2024-03-20  1:51                 ` Christoph Hellwig
2024-04-05  2:04                   ` Saranya Muruganandam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).