Re: Regression: NVMe: kernel BUG at lib/sg_pool.c:103!

Martin K. Petersen
2019-02-20T22:55:21Z

Chaitanya,

> - if (!blk_rq_payload_bytes(rq))
> + if (!blk_rq_nr_phys_segments(rq))

Wouldn't it be better to set RQF_SPECIAL_PAYLOAD and friends in
nvme_setup_write_zeroes() like it's done for discard?

--
Martin K. Petersen Oracle Linux Engineering