[SCSI] iscsi: data digest page cache usage fix
authorFUJITA Tomonori <tomof@acm.org>
Sat, 14 Jan 2006 00:05:44 +0000 (18:05 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 14 Jan 2006 16:55:17 +0000 (10:55 -0600)
commit56851698c23430f0f291d6e50da344e6b414f3b9
treee051fccf90003b6057c961b1b954725f38413d02
parent3e97c7e6cda933e3a1b518a8100d155c532a3cfc
[SCSI] iscsi: data digest page cache usage fix

Users can write to a page while we are sending it and making
digest calculations. This ends up causing us to retry the command
when a digest error is later reported. By using sock_no_sendpage
when data digests are calculated we can avoid a lot of (not all but it
helps) the retries becuase sock_no_sendpage is not zero copy.

Signed-off-by: Alex Aizman <itn780@yahoo.com>
Signed-off-by: Dmitry Yusupov <dmitry_yus@yahoo.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/iscsi_tcp.c
drivers/scsi/iscsi_tcp.h