[SCSI] libiscsi_tcp: use kmap in xmit path
The xmit path can sleep with a page kmapped in the network xmit code while it waits for space to open up, so we have to use kmap instead of kmap atomic in that path. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
e8b12f0fb8
commit
70c7c88a1a
@ -47,6 +47,7 @@ struct iscsi_segment {
|
||||
struct scatterlist *sg;
|
||||
void *sg_mapped;
|
||||
unsigned int sg_offset;
|
||||
bool atomic_mapped;
|
||||
|
||||
iscsi_segment_done_fn_t *done;
|
||||
};
|
||||
|
Reference in New Issue
Block a user