On Wed, Mar 27, 2019 at 05:02:30PM +0800, Ming Lei wrote:
NVMe target only accepts single-page sg list, either file or block device backed target code follows this assumption. However, loop target is one exception, given the sg list is from the host queue directly. This patch sets loop queue's segment boundary mask as PAGE_SIZE - 1 for following NVMe target assumption. Reported-by: Yi Zhang <yi.zhang@xxxxxxxxxx> Fixes: 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver") Cc: Yi Zhang <yi.zhang@xxxxxxxxxx> Cc: Sagi Grimberg <sagi@xxxxxxxxxxx> Cc: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx>
Could you provide some background as to why this is -stable only in the commit message? -- Thanks, Sasha