* [PATCH] enable XFS write barrier
@ 2006-01-23 14:40 Tetsuo Takata
2006-01-23 14:48 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Tetsuo Takata @ 2006-01-23 14:40 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, doubt
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
I found out that the q->ordered is not being set properly on XFS.
I'm testing the write barrier support of XFS.
I run the test on kernel 2.6.16-rc1-git4.
but I found out that the "-o barrier" option is automatically disabled
in my environment.
For this reason I could not test the write barrier's execution path.
The error message in "/var/log/messages" is:
Filesystem "sdb1": Disabling barriers, not supported by the underlying device
This patch fixes these bugs.
Best regards,
Tetsuo Takata
[-- Attachment #2: 2.6.16-rc1-git4-sd.patch --]
[-- Type: application/octet-stream, Size: 559 bytes --]
The patch below fixes the aforementioned problem.
Signed-off-by: Tetsuo Takata <takatatt@intellilink.co.jp>
---
diff -urpN linux-2.6.16-rc1-git4/block/ll_rw_blk.c linux-2.6.16-rc1-git4-fixed/block/ll_rw_blk.c
--- linux-2.6.16-rc1-git4/block/ll_rw_blk.c 2006-01-23 21:29:12.000000000 +0900
+++ linux-2.6.16-rc1-git4-fixed/block/ll_rw_blk.c 2006-01-23 22:05:11.000000000 +0900
@@ -332,6 +332,7 @@ int blk_queue_ordered(request_queue_t *q
return -EINVAL;
}
+ q->ordered = ordered;
q->next_ordered = ordered;
q->prepare_flush_fn = prepare_flush_fn;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] enable XFS write barrier
2006-01-23 14:40 [PATCH] enable XFS write barrier Tetsuo Takata
@ 2006-01-23 14:48 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2006-01-23 14:48 UTC (permalink / raw)
To: Tetsuo Takata; +Cc: akpm, linux-kernel, doubt
On Mon, Jan 23 2006, Tetsuo Takata wrote:
> I found out that the q->ordered is not being set properly on XFS.
>
>
> I'm testing the write barrier support of XFS.
> I run the test on kernel 2.6.16-rc1-git4.
> but I found out that the "-o barrier" option is automatically disabled
> in my environment.
> For this reason I could not test the write barrier's execution path.
>
> The error message in "/var/log/messages" is:
> Filesystem "sdb1": Disabling barriers, not supported by the underlying device
>
>
> This patch fixes these bugs.
Woops, thanks!
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-23 14:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-23 14:40 [PATCH] enable XFS write barrier Tetsuo Takata
2006-01-23 14:48 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).