X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Fmd_object.h;h=d4c5b662ffef6f8b98e3e354ec13d35ec1196927;hb=51074e76259ac428a7e7a7ac3f189971bf20122f;hp=9a7e3eee05cf97596bea2bdbc25eda023722d4c8;hpb=fac276bba64a1507ac4a90432d2ef538543ca402;p=fs%2Flustre-release.git diff --git a/lustre/include/md_object.h b/lustre/include/md_object.h index 9a7e3ee..d4c5b66 100644 --- a/lustre/include/md_object.h +++ b/lustre/include/md_object.h @@ -30,6 +30,9 @@ * Use is subject to license terms. */ /* + * Copyright (c) 2011 Whamcloud, Inc. + */ +/* * This file is part of Lustre, http://www.lustre.org/ * Lustre is a trademark of Sun Microsystems, Inc. * @@ -126,7 +129,8 @@ enum ma_valid { MA_LOV_DEF = (1 << 6), /* (Layout lock will used #7 here) */ MA_HSM = (1 << 8), - MA_SOM = (1 << 9) + MA_SOM = (1 << 9), + MA_PFID = (1 << 10) }; typedef enum { @@ -177,6 +181,7 @@ struct md_attr { struct lustre_capa *ma_capa; struct md_hsm ma_hsm; struct md_som_data *ma_som; + struct lu_fid ma_pfid; }; /** Additional parameters for create */ @@ -240,6 +245,7 @@ struct md_object_operations { int (*moo_xattr_del)(const struct lu_env *env, struct md_object *obj, const char *name); + /** \retval number of bytes actually read upon success */ int (*moo_readpage)(const struct lu_env *env, struct md_object *obj, const struct lu_rdpg *rdpg);