Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-13127 ptlrpc: prefer crc32_le() over CryptoAPI
[fs/lustre-release.git]
/
Documentation
/
osd-api.txt
diff --git
a/Documentation/osd-api.txt
b/Documentation/osd-api.txt
index
e8439f4
..
59eea26
100644
(file)
--- 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()
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.
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
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
- 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