X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flu_object.h;h=ae21d704367ff8d34e7a733ef8ce48a433e658a2;hp=2b9424fe4ecca1e14515c259783a3f60ce222a9e;hb=7265c5d9e5327e48d7b80b0c11bc3532a2c55ecf;hpb=93b6adce588ab0aa6203f980cdfca35a19887d00 diff --git a/lustre/include/lu_object.h b/lustre/include/lu_object.h index 2b9424f..ae21d70 100644 --- a/lustre/include/lu_object.h +++ b/lustre/include/lu_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. */ @@ -169,11 +172,23 @@ struct lu_device_operations { }; /** + * For lu_object_conf flags + */ +typedef enum { + /* Currently, only used for client-side object initialization. */ + LOC_F_NEW = 0x1, +} loc_flags_t; + +/** * Object configuration, describing particulars of object being created. On * server this is not used, as server objects are full identified by fid. On * client configuration contains struct lustre_md. */ struct lu_object_conf { + /** + * Some hints for obj find and alloc. + */ + loc_flags_t loc_flags; }; /**