Re: [PATCH v2 1/5] orangefs: fix request_mask misuse

2018-10-19 Thread Andreas Dilger
On Oct 19, 2018, at 6:20 AM, Miklos Szeredi wrote: > > Orangefs only handles STATX_BASIC_STATS in its getattr implementation, so > mask off all other flags. Not doing so results in statx(2) forcing a > refresh of cached attributes on any other requested flag (i.e. STATX_BTIME > currently) due to

[PATCH v2 1/5] orangefs: fix request_mask misuse

2018-10-19 Thread Miklos Szeredi
Orangefs only handles STATX_BASIC_STATS in its getattr implementation, so mask off all other flags. Not doing so results in statx(2) forcing a refresh of cached attributes on any other requested flag (i.e. STATX_BTIME currently) due to the following test in orangefs_inode_getattr(): (request_ma