]> asedeno.scripts.mit.edu Git - linux.git/commit
orangefs: update attributes rather than relying on server
authorMartin Brandenburg <martin@omnibond.com>
Mon, 12 Feb 2018 15:49:24 +0000 (15:49 +0000)
committerMike Marshall <hubcap@omnibond.com>
Fri, 3 May 2019 18:32:38 +0000 (14:32 -0400)
commit5e7f1d433804450cdb5ba478d26742963e06b1bc
tree9c8295484d848ee28d4b5ba9173f5a72cfabad78
parent8b60785c1d7c63415c32bf64dabc686b9045ce7d
orangefs: update attributes rather than relying on server

This should be a no-op now, but once inode writeback works, it'll be
necessary to have the correct attribute in the dirty inode.

Previously the attribute fetch timeout was marked invalid and the server
provided the updated attribute.  When the inode is dirty, the server
cannot be consulted since it does not yet know the pending setattr.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/file.c
fs/orangefs/namei.c