On Wed, Nov 25, 2020 at 05:11:07PM -0800, Minchan Kim wrote: > With this patch, how deal with the race? > > CPU 1 CPU 2 > > hot_remove_store > zram_remove > zram_busy > return -EBUSY > open /dev/zram0 > del_gendisk > zram_reset and destroy Yeah, it looks like zram does not really handle hot unplugging unlike other drivers. So I've dropped this one for now. -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel