[PATCH] NVME: Splitting large i/o in the ioctl path
Keith Busch
keith.busch at intel.com
Fri Feb 20 10:31:09 PST 2015
On Fri, 20 Feb 2015, Sathayavathi M wrote:
> + else
> + dev->max_hw_sectors = BLK_DEF_MAX_SECOTRS;
I think you meant BLK_DEF_MAX_SECTORS. Sometimes I submit patches that
don't compile either. :)
Anyway, I think we need to fix the driver's adding disks of this extended
type first. Right now I think we're corrupting data and memory if we
encounter such a device. I proposed setting the capacity to 0 so you
can still access the disk media through the ioctl, but not through the
standard block layer.
More information about the Linux-nvme
mailing list