Re: [PATCH] mmc: block: Delete gendisk before cleaning up the request queue

2018-03-22 Thread Jens Axboe
On 3/22/18 10:59 AM, Bart Van Assche wrote: > On Thu, 2018-03-22 at 18:56 +0800, Shawn Lin wrote: >> dd if=/dev/urandom of=/dev/mmcblk1 bs=4k count=1 >> with a SD card hotplug during transfer reports a warning below >> introduced by commit a063057d7c73 ("block: Fix a race between >> request

Re: [PATCH] mmc: block: Delete gendisk before cleaning up the request queue

2018-03-22 Thread Bart Van Assche
On Thu, 2018-03-22 at 18:56 +0800, Shawn Lin wrote: > dd if=/dev/urandom of=/dev/mmcblk1 bs=4k count=1 > with a SD card hotplug during transfer reports a warning below > introduced by commit a063057d7c73 ("block: Fix a race between > request queue removal and the block cgroup controller"). So

[PATCH] mmc: block: Delete gendisk before cleaning up the request queue

2018-03-22 Thread Shawn Lin
dd if=/dev/urandom of=/dev/mmcblk1 bs=4k count=1 with a SD card hotplug during transfer reports a warning below introduced by commit a063057d7c73 ("block: Fix a race between request queue removal and the block cgroup controller"). So we should now remove the disk, partition and bdi sysfs