-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd-target: Fix an sg_read BUG when one of the segments is short
In OSD it is not an error to read passed EOF. Zeros are put and the read should continue to the next segments. When done if the total read was short a warrning is issued as stated. Also better debug prints when sg_read bales out on errors. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
- Loading branch information
Boaz Harrosh
committed
Feb 11, 2011
1 parent
e9e8792
commit 2a99ef6
Showing
1 changed file
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters