diff options
author | Nicholas Bellinger <nab@daterainc.com> | 2013-08-20 21:45:16 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-09-10 01:29:33 +0400 |
commit | 47e459e622f07c2564e6be8412d75389d2a807b8 (patch) | |
tree | 685709343f949e5cc858e8657dba5d2bd79d91ca /fs/fcntl.c | |
parent | 8cefe07b5e9c2b0212ad6809a219e4489807a746 (diff) | |
download | linux-47e459e622f07c2564e6be8412d75389d2a807b8.tar.xz |
target: Add transport_reset_sgl_orig() for COMPARE_AND_WRITE
After COMPARE_AND_WRITE completes it's comparision, the WRITE
payload SGLs head expect to be updated to point from the verify
instance of user data, to the write instance of user data.
So for this special case, add transport_reset_sgl_orig() usage
within transport_free_pages() and add se_cmd->t_data_[sg,nents]_orig
members to save the original assignments.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Martin Petersen <martin.petersen@oracle.com>
Cc: Chris Mason <chris.mason@fusionio.com>
Cc: James Bottomley <JBottomley@Parallels.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Nicholas Bellinger <nab@daterainc.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions