From: Boaz Harrosh Date: Sun, 24 May 2009 17:04:26 +0000 (+0300) Subject: [SCSI] libosd: osd_req_{read,write} takes a length parameter X-Git-Tag: v2.6.31-rc1~365^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f469b596dd0aadf046a69027087c18db43734e;p=pandora-kernel.git [SCSI] libosd: osd_req_{read,write} takes a length parameter For supporting of chained-bios we can not inspect the first bio only, as before. Caller shall pass the total length of the request, ie. sum_bytes(bio-chain). Also since the bio might be a chain we don't set it's direction on behalf of it's callers. The bio direction should be properly set prior to this call. So fix a couple of write users that now need to set the bio direction properly [In this patch I change both library code and user sites at exofs, to make it easy on integration. It should be submitted via James's scsi-misc tree.] Signed-off-by: Boaz Harrosh CC: Jeff Garzik Signed-off-by: James Bottomley --- Reading git-diff-tree failed