From: Boaz Harrosh Date: Sun, 23 Jan 2011 15:53:24 +0000 (+0200) Subject: [SCSI] libosd: osd_req_read_sg, optimize the single entry case X-Git-Tag: v2.6.39-rc1~440^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4977c82504f58d7579acabd21688183eaa8768fb;p=pandora-kernel.git [SCSI] libosd: osd_req_read_sg, optimize the single entry case Since sg-read is a bidi operation, it is a gain to convert a single sg entry into a regular read. Better do this in the generic layer then force each caller to do so. Signed-off-by: Boaz Harrosh Signed-off-by: James Bottomley --- Reading git-diff-tree failed