blkdev_issue_flush() not detecting and passing EOPNOTSUPP back
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner | ||
Hardy |
Fix Released
|
Medium
|
Tim Gardner | ||
Intrepid |
Fix Released
|
Medium
|
Tim Gardner |
Bug Description
When running drbd on top of a software-raid device (mdadm) you get this message:
drbd0: local disk flush failed with status -5
After doing some research i found that this is caused by the 2.6.24 kernel: http://
A patch/fix is also available at that URL.
I am running kernel 2.6.24-15-server with Ubuntu Hardy 8.04 beta (32-Bits).
A solution for this bug would be to get the newer code from the upstream from kernel.org or apply the patch as stated above.
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
ARCH=i686
root@storage1:~# uname -r
2.6.24-15-server
root@storage1:~#
Changed in linux: | |
milestone: | none → ubuntu-8.04.1 |
Changed in linux: | |
assignee: | ubuntu-kernel-team → timg-tpi |
status: | Triaged → In Progress |
Changed in linux: | |
assignee: | nobody → timg-tpi |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.04.1 |
status: | New → Fix Committed |
Changed in linux: | |
milestone: | ubuntu-8.04.1 → none |
Hi Wido,
I'm just including the upstream git commit id and description you've referenced. Unfortunately the kernel is currently frozen for Hardy so this probably won't make it in before Hardy final is released. However, this fix will automatically be available in the Intrepid Ibex 8.10 release and this could possibly be considered for the Hardy 8.04.1 point release. I'll reassign to the kernel team for their consideration. Thanks.
commit cc66b4512cae8df 4ed1635483210aa bf7690ec27
Author: Jens Axboe <email address hidden>
Date: Tue Mar 4 11:47:46 2008 +0100
block: fix blkdev_ issue_flush( ) not detecting and passing EOPNOTSUPP back
This is important to eg dm, that tries to decide whether to stop using
barriers or not.
Tested as working by Anders Henke <anders. henke@1und1. de>
Signed-off-by: Jens Axboe <email address hidden>