Whamcloud - gitweb
Disable the code which sets the file size on the MDS:
authoradilger <adilger>
Tue, 29 Oct 2002 06:29:18 +0000 (06:29 +0000)
committeradilger <adilger>
Tue, 29 Oct 2002 06:29:18 +0000 (06:29 +0000)
commit74b44a65de0674e254cd0ee755a7ccd59076588a
treec51452e1b27d2f8ebe48b5fefad458ebf54d83aa
parent8fd7009502daf2507da5e3349fb90f00df3f2bf3
Disable the code which sets the file size on the MDS:
1) we never (or should never) currently use the file size from the MDS
2) only the client which holds the size lock would need to update the MDS
3) that client already knows the correct file size locally, so no obd_getattr

Removing this hunk of code also has the benefit of removing an extraneous
obd_getattr() x stripe_count + mdc_setattr() per file, so it should improve
performance for tar/bonnie/etc noticably.

Passes multi-client runtests.
lustre/llite/file.c