projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e4093
)
drbd: Improve error reporting in drbd_md_sync_page_io()
author
Andreas Gruenbacher
<agruen@linbit.com>
Fri, 19 Aug 2011 11:47:31 +0000
(13:47 +0200)
committer
Philipp Reisner
<philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:03 +0000
(16:58 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_actlog.c
patch
|
blob
|
history
diff --git
a/drivers/block/drbd/drbd_actlog.c
b/drivers/block/drbd/drbd_actlog.c
index
34048e8
..
4dd5208
100644
(file)
--- a/
drivers/block/drbd/drbd_actlog.c
+++ b/
drivers/block/drbd/drbd_actlog.c
@@
-202,8
+202,8
@@
int drbd_md_sync_page_io(struct drbd_conf *mdev, struct drbd_backing_dev *bdev,
err = _drbd_md_sync_page_io(mdev, bdev, iop, sector, rw, MD_BLOCK_SIZE);
if (err) {
- dev_err(DEV, "drbd_md_sync_page_io(,%llus,%s) failed
!
\n",
- (unsigned long long)sector, (rw & WRITE) ? "WRITE" : "READ");
+ dev_err(DEV, "drbd_md_sync_page_io(,%llus,%s) failed
with error %d
\n",
+ (unsigned long long)sector, (rw & WRITE) ? "WRITE" : "READ"
, err
);
}
return err;
}