On 7/2/20 7:54 PM, Baolin Wang wrote: > We've validated the segment counts before calling nvme_map_data(), > so there is no need to validate again in nvme_pci_use_sgls() only > called from nvme_map_data(). > > Signed-off-by: Baolin Wang<baolin.w...@linux.alibaba.com>
Indeed we do call blk_rq_nr_phys_segments() in nvme_queue_rq(). Looks good to me. Reviewed-by: Chaitanya Kulkarni <chaitanya.kulka...@wdc.com>