From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Mon, 20 Aug 2007 15:56:30 +0100 Subject: [Cluster-devel] [GFS2 PATCH] Reduce truncate IO traffic In-Reply-To: <46C99751.6030205@redhat.com> References: <46C99751.6030205@redhat.com> Message-ID: <1187621790.8765.919.camel@quoit> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Now in the -nmw git tree. Thanks, Steve. On Mon, 2007-08-20 at 09:29 -0400, Wendy Cheng wrote: > 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 > >