[DRBD-cvs] svn commit by phil - r2344 - trunk/drbd - Handle IO
errors while reading the activity log right.
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Tue Aug 8 17:46:15 CEST 2006
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: phil
Date: 2006-08-08 17:46:14 +0200 (Tue, 08 Aug 2006)
New Revision: 2344
Modified:
trunk/drbd/drbd_actlog.c
Log:
Handle IO errors while reading the activity log right.
The right thing is, to simply fail the attach request.
The issue was repoerted by Simon Graham
http://lists.linbit.com/pipermail/drbd-dev/2006-August/000386.html
Modified: trunk/drbd/drbd_actlog.c
===================================================================
--- trunk/drbd/drbd_actlog.c 2006-08-08 15:00:53 UTC (rev 2343)
+++ trunk/drbd/drbd_actlog.c 2006-08-08 15:46:14 UTC (rev 2344)
@@ -357,8 +357,6 @@
sector = bdev->md.md_offset + bdev->md.al_offset + index;
if(!drbd_md_sync_page_io(mdev,bdev,sector,READ)) {
- drbd_chk_io_error(mdev, 1);
- drbd_io_error(mdev);
return -1;
}
More information about the drbd-cvs
mailing list