|
the first version patch is here:
http://review.whamcloud.com/#change,168
|
|
Lai suggested to just remove oo_guard from ost_attr_get, I would like to think over it again later, if it's safe then previous patch can be simplified a lot, but at least I would keep some cleanup and fix for cmtime
|
|
Lai, I'm thinking we probably still want to do this, because overhead of capability checking in the future, how do you think?
|
|
Though capability is generated and authenticated in OSD layer, only the operations from client need capability check, while other internal operations from MDD to OSD will bypass capability. In brief capability will not be a cause here.
|
|
Patch updated to master: http://review.whamcloud.com/#/c/6897/.
I'm wondering that if lu_attr is always cached in lu_object, it can be more efficient, and benefit subsequent operations on the same object, however this will consume more memory (80 bytes), and lead to less cached object. This is like kernel does for inode attributes.
|
Generated at Sat Feb 10 01:03:06 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.