cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [GFS2 PATCH] Reduce truncate IO traffic
@ 2007-08-20 13:29 Wendy Cheng
  2007-08-20 14:56 ` Steven Whitehouse
  0 siblings, 1 reply; 2+ messages in thread
From: Wendy Cheng @ 2007-08-20 13:29 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Current GFS2 setattr call unconditionally invokes do_shrink even the 
requested size and actual file size are equal. This has generated large 
amount of extra IOs found during NFS benchmark runs. This patch moves 
the relevant logic out of shrink code path. Since setattr is a system 
call, the time stamps update is still required.

-- Wendy


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfs2_touch.patch
Type: text/x-patch
Size: 1640 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20070820/7bb5d611/attachment.bin>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-20 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-20 13:29 [Cluster-devel] [GFS2 PATCH] Reduce truncate IO traffic Wendy Cheng
2007-08-20 14:56 ` Steven Whitehouse

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).