Skip to contentSkip to conversation

NVME: Splitting large i/o in the ioctl path

PATCH Superseded Keith Busch 1 participant 1 message Feb 23, 2015 1 message not in the archive NVMe

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1648698662.233191424693005310.JavaMail.weblogic@epmlwas07b

#1 lore raw

PATCH 1/1 NVME: Splitting large i/o in the ioctl path

Quoted 9 lines · Sathyavathi M
Quoted 5 lines · Keith Busch

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.

Keith,
Do you have any other comments on this patch.

This feature you're going for should be more successful if you write it against 4.0-rc1. We got the initial meta-data handling merged upstream over the weekend so we don't corrupt memory on these formats anymore.