Whamcloud - gitweb
LU-4687 obdclass: unified flow control interfaces
[fs/lustre-release.git] / lustre / doc / osd-api.txt
index a039e45..340a255 100644 (file)
@@ -472,7 +472,7 @@ All the objects are listed in the local_oid enum, which includes:
   objects.
 - ACCT_USER_OID/ACCT_GROUP_OID are used for accessing space accounting
   information for respectively users and groups.
-- MDT_LAST_RECV_OID/OFD_LAST_RECV_OID is the last_rcvd file for respectively
+- LAST_RECV_OID is the last_rcvd file for respectively
   the MDT and OST.
 
 iv. Object Operations
@@ -807,9 +807,9 @@ int (*dbo_read_prep)(const struct lu_env *, struct dt_object *,
                     struct niobuf_local *, int);
 int (*dbo_fiemap_get)(const struct lu_env *, struct dt_object *,
                      struct ll_user_fiemap *);
-int (*do_declare_punch)(const struct lu_env*, struct dt_object *, __u64,
+int (*dbo_declare_punch)(const struct lu_env*, struct dt_object *, __u64,
                          __u64,struct thandle *);
-int (*do_punch)(const struct lu_env *, struct dt_object *, __u64, __u64,
+int (*dbo_punch)(const struct lu_env *, struct dt_object *, __u64, __u64,
                struct thandle *, struct lustre_capa *);
 
 dbo_read
@@ -1211,8 +1211,8 @@ int qsd_op_begin(const struct lu_env *, struct qsd_instance *,
                  struct lquota_trans *, struct lquota_id_info *, int *);
 void qsd_op_end(const struct lu_env *, struct qsd_instance *,
                 struct lquota_trans *);
-void qsd_adjust_quota(const struct lu_env *, struct qsd_instance *,
-                      union lquota_id *, int);
+void qsd_op_adjust(const struct lu_env *, struct qsd_instance *,
+                   union lquota_id *, int);
 
 qsd_init
        The OSD module should first allocate a qsd instance via qsd_init.
@@ -1252,11 +1252,11 @@ qsd_op_end
        each time a new operation is declared, qsd_op_end should be called only
        once for the whole transaction.
 
-qsd_adjust_quota
+qsd_op_adjust
        Trigger pre-acquire/release if necessary, it's only used for ldiskfs osd
        so far. When unlink a file in ldiskfs, the quota accounting isn't
        updated when the transaction stopped. Instead, it'll be updated on the
-       final iput, so qsd_adjust_quota() will be called then (in
+       final iput, so qsd_op_adjust() will be called then (in
        osd_object_delete()) to trigger quota release if necessary.
 
 Appendix 1. A brief note on Lustre configuration.