diff options
author | Joursoir <chat@joursoir.net> | 2023-01-16 03:46:40 +0400 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2023-01-16 13:33:18 +0400 |
commit | 314f912f689c91b3adb16cbe8faa43093b344dba (patch) | |
tree | 0cc323aedfb00fe6899e43fb49408ea6bb2a8680 /sbdd.c | |
parent | d93952a43b90635e052abfc808d5966ff750f18a (diff) | |
download | sbdd-raid0.tar.gz sbdd-raid0.tar.bz2 sbdd-raid0.zip |
add stub-handling for unsucceseed I/Oraid0
Diffstat (limited to 'sbdd.c')
-rw-r--r-- | sbdd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -59,6 +59,11 @@ static void io_end_bio(struct bio *bio) pr_debug("I/O operation is completed\n"); + if (bio->bi_status != BLK_STS_OK) { + pr_err("oops, error during I/O operation..."); + /* TODO: handle errors */ + } + io_bio->original_bio->bi_status = bio->bi_status; bio_put(bio); |