Command like PERSISTENT RESERVE OUT fill out DATA OUT data in their CDB setup routine, but the SG_IO code doesn't look at that, leading to a segfault when issueing such commands. Fix this by copying over some code from the iSCSI path. Signed-off-by: Christoph Hellwig <hch@lst.de>
63 KiB
63 KiB