Re: [PATCH] block: tolerate 0 byte discard_granularity in __blkdev_issue_discard()

From: Johannes Thumshirn
Date: Tue Aug 04 2020 - 10:40:08 EST


On 04/08/2020 16:23, Coly Li wrote:
> This is the procedure to reproduce the panic,
> # modprobe scsi_debug delay=0 dev_size_mb=2048 max_queue=1
> # losetup -f /dev/nvme0n1 --direct-io=on
> # blkdiscard /dev/loop0 -o 0 -l 0x200

losetup -f /dev/sdX isn't it?