Thread (7 messages) 7 messages, 4 authors, 2021-02-24

Re: [PATCH] block: reopen the device in blkdev_reread_part

flat view

From: Minwoo Im <hidden>
Date: 2021-02-24 01:52:53

On 21-02-23 16:18:22, Christoph Hellwig wrote:
Historically the BLKRRPART ioctls called into the now defunct ->revalidate
method, which caused the sd driver to check if any media is present.
When the ->revalidate method was removed this revalidation was lost,
leading to lots of I/O errors when using the eject command.  Fix this by
reopening the device to rescan the partitions, and thus calling the
revalidation logic in the sd driver.
It looks like a related issue that I've reported in [1].  And this looks
much better!

Reviewed-by: Minwoo Im <redacted>

[1] https://lore.kernel.org/linux-block/20210126002901.5533-2-minwoo.im.dev@gmail.com/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help