aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms.c
diff options
context:
space:
mode:
authorWendy Cheng <wcheng@redhat.com>2007-08-20 09:29:53 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-10-10 08:55:36 +0100
commita13b8c5f2381495879e6facd3b3ada51c9e68194 (patch)
tree79852951c3074af8b2d9e84fdc03d622bc022be3 /fs/dlm/lowcomms.c
parent[GFS2] Add NULL entry to token table (diff)
downloadlinux-dev-a13b8c5f2381495879e6facd3b3ada51c9e68194.tar.xz
linux-dev-a13b8c5f2381495879e6facd3b3ada51c9e68194.zip
[GFS2] Reduce truncate IO traffic
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. Signed-off-by: S. Wendy Cheng <wcheng@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions