Revert "block: freeze the queue earlier in del_gendisk"
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Sep 2022 14:40:49 +0000 (16:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Sep 2022 14:15:44 +0000 (08:15 -0600)
commit4c66a326b5ab784cddd72de07ac5b6210e9e1b06
tree73aaa5ce98f5c6d9f659be1b762ce4727ab5b1f0
parentdb7ba07108a48c0f95b74fabbfd5d63e924f992d
Revert "block: freeze the queue earlier in del_gendisk"

This reverts commit a09b314005f3a0956ebf56e01b3b80339df577cc.

Dusty Mabe reported consistent hang during CoreOS shutdown with a MD
RAID1 setup.  Although apparently similar hangs happened before,
and this patch most likely is not the root cause it made it much
more severe.  Revert it until we can figure out what is going on
with the md driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220919144049.978907-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c