On 10/31/2012 10:51 PM, Darrick J. Wong wrote:
Of course, all that goes out the door with iscsi since it doesn't necessarily
care about DIF/DIX but wants stable pages anyway. It'd be useful to be able to
play around with iscsi too. Could you point me to where in the iscsi code it
does the copy-and-checksum behavior?
I'll send you an untested proof of concept patch tomorrow. So at least you can
see where the code is. But no guaranty that it actually works.
You will need to dig into iscsi docs to enable it in config files, look for
data_digest= or something like that.
header digest is when only the headers are check-summed and data-digest is when
all the data is check-summed.
--D
Cheers
Boaz