|
From: Serge L. <fi...@in...> - 2010-03-19 03:11:14
|
Udo, you are welcome. I've perused the patch and the bug description, then compared it with the recent kernel patch 2.6.32.10. The patch seems to be integrated. Please take a look: Patch: ----------------------------------------------------------------------- # end_request: I/O error, dev vda, sector 0 # end_request: I/O error, dev vda, sector 0 # commit 52b1fd5a27c625c78373e024bf570af3c9d44a79 # Author: Mikulas Patocka <mpa...@re...> # dm: send empty barriers to targets in dm_flush # https://bugzilla.redhat.com/514901 # block/blk-core.c | 3 +-- # 1 files changed, 1 insertions(+), 2 deletions(-) --- a/block/blk-core.c +++ a/block/blk-core.c @@ -1163,8 +1163,7 @@ static int __make_request(struct request_queue *q, struct bio *bio) const int unplug = bio_unplug(bio); int rw_flags; - if (bio_barrier(bio) && bio_has_data(bio) && - (q->next_ordered == QUEUE_ORDERED_NONE)) { + if (bio_barrier(bio) && (q->next_ordered == QUEUE_ORDERED_NONE)) { bio_endio(bio, -EOPNOTSUPP); return 0; } Kernel code: ----------------------------------------------------------------------- int rw_flags; if (bio_rw_flagged(bio, BIO_RW_BARRIER) && (q->next_ordered == QUEUE_ORDERED_NONE)) { bio_endio(bio, -EOPNOTSUPP); return 0; } ----------------------------------------------------------------------- I'm not a kernel hacker though and can be wrong... Could you please help me with the issue reproducing? Serge On 03/18/2010 07:47 AM, SourceForge.net: Mantis Bug Tracker: project : devil-linux wrote: > > The following issue has been SUBMITTED. > ====================================================================== > https://sourceforge.net/apps/mantisbt/devil-linux/view.php?id=66 > ====================================================================== > Reported By: ulembke > Assigned To: > ====================================================================== > Project: Devil-Linux 1.4 > Issue ID: 66 > Category: Bug > Reproducibility: always > Severity: minor > Priority: normal > Status: new > ====================================================================== > Date Submitted: 2010-03-18 14:47 UTC > Last Modified: 2010-03-18 14:47 UTC > ====================================================================== > Summary: virtio-access produce IO-Errors > Description: > Fist i have to thank you for the fast solution about the > virtio-configstore. > Unfortunately produce the usage of virtio with lvm an error: > end_request: I/O error, dev vda, sector 0 > > There is a fix for that bug: > http://lkml.org/lkml/2009/8/6/153 > > Perhaps it's possible to patch the kernel? > > Best regards > > Udo > ====================================================================== > > Issue History > Date Modified Username Field Change > ====================================================================== > 2010-03-18 14:47 ulembke New Issue > ====================================================================== > > |