* Review: increase default filestreams timeout
@ 2007-07-23 2:06 David Chinner
2007-07-23 9:17 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: David Chinner @ 2007-07-23 2:06 UTC (permalink / raw)
To: xfs-dev; +Cc: xfs-oss
The default is too low resulting in far too frequent workqueue
flushing and it's unlikely that it will work properly with buffered
I/O on such a low timeout. i.e. test 172 expects the timeout of 50
(default) expects buffered I/O to fail to lay the streams out
without interleaving.
Set the default timeout to 30s instead of 500ms.
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
---
fs/xfs/linux-2.6/xfs_globals.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: 2.6.x-xfs-new/fs/xfs/linux-2.6/xfs_globals.c
===================================================================
--- 2.6.x-xfs-new.orig/fs/xfs/linux-2.6/xfs_globals.c 2007-07-09 16:06:23.000000000 +1000
+++ 2.6.x-xfs-new/fs/xfs/linux-2.6/xfs_globals.c 2007-07-17 09:06:46.595999067 +1000
@@ -49,7 +49,7 @@ xfs_param_t xfs_params = {
.inherit_nosym = { 0, 0, 1 },
.rotorstep = { 1, 1, 255 },
.inherit_nodfrg = { 0, 1, 1 },
- .fstrm_timer = { 1, 50, 3600*100},
+ .fstrm_timer = { 1, 30*100, 3600*100},
};
/*
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Review: increase default filestreams timeout
2007-07-23 2:06 Review: increase default filestreams timeout David Chinner
@ 2007-07-23 9:17 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2007-07-23 9:17 UTC (permalink / raw)
To: David Chinner; +Cc: xfs-dev, xfs-oss
On Mon, Jul 23, 2007 at 12:06:30PM +1000, David Chinner wrote:
> The default is too low resulting in far too frequent workqueue
> flushing and it's unlikely that it will work properly with buffered
> I/O on such a low timeout. i.e. test 172 expects the timeout of 50
> (default) expects buffered I/O to fail to lay the streams out
> without interleaving.
>
> Set the default timeout to 30s instead of 500ms.
The patch is obviously correct and I trust you on chosing the right timeout.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-23 9:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23 2:06 Review: increase default filestreams timeout David Chinner
2007-07-23 9:17 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox