X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=Documentation%2Fosd-api.txt;h=59eea26eedb6e50efb77ec62ea5998046f946a83;hb=36a97084791899e73b32b381a98f4f9f51348fe9;hp=e8439f461faf3276f63a8a4dcd01652611390102;hpb=204b492ce0856cc03c6e8bf88e925c8c18bc3304;p=fs%2Flustre-release.git diff --git a/Documentation/osd-api.txt b/Documentation/osd-api.txt index e8439f4..59eea26 100644 --- a/Documentation/osd-api.txt +++ b/Documentation/osd-api.txt @@ -514,6 +514,8 @@ loo_object_delete during potentially stack consuming resource release. loo_object_free is called to actually release memory allocated by ->ldo->object_alloc() + If the object contains a struct lu_object_header, then it must be + freed by call_rcu() or rcu_kfree(). loo_object_release is called when object last it’s last user and moves onto LRU list of unused objects. implementation of this method is optional to OSD. @@ -1293,6 +1295,6 @@ Appendix 2. Sample Code Lustre currently has 2 different OSD implementations: - ldiskfs OSD under lustre/osd-ldiskfs - http://git.hpdd.intel.com/?p=fs/lustre-release.git;a=tree;f=lustre/osd-ldiskfs;hb=HEAD + http://git.whamcloud.com/?p=fs/lustre-release.git;a=tree;f=lustre/osd-ldiskfs;hb=HEAD - ZFS OSD under lustre/zfs-osd - http://git.hpdd.intel.com/?p=fs/lustre-release.git;a=tree;f=lustre/osd-zfs;hb=HEAD + http://git.whamcloud.com/?p=fs/lustre-release.git;a=tree;f=lustre/osd-zfs;hb=HEAD