commit | 4977c82504f58d7579acabd21688183eaa8768fb | [log] [tgz] |
---|---|---|
author | Boaz Harrosh <bharrosh@panasas.com> | Sun Jan 23 17:53:24 2011 +0200 |
committer | James Bottomley <James.Bottomley@suse.de> | Mon Jan 24 12:06:31 2011 -0600 |
tree | fc455d2fe5f925b6cb1c143231c56b76befae373 | |
parent | 1e34c8387380269b9d7707d625aeb9e9e92233f0 [diff] |
[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 <bharrosh@panasas.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>