X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Flocal_storage.h;h=9f5012827f53c4119f299587e6ec3ecc658b75f1;hp=4aee0bd2c82173e860f39799e81915dbc9c400de;hb=c4677f0d97dff8d1084baa1792c0ad6af1000158;hpb=9fb46705ae86aa2c0ac29427f0ff24f923560eb7 diff --git a/lustre/obdclass/local_storage.h b/lustre/obdclass/local_storage.h index 4aee0bd..9f50128 100644 --- a/lustre/obdclass/local_storage.h +++ b/lustre/obdclass/local_storage.h @@ -20,7 +20,7 @@ * GPL HEADER END */ /* - * Copyright (c) 2012 Whamcloud, Inc. + * Copyright (c) 2012, Intel Corporation. */ /* * lustre/obdclass/local_storage.c @@ -74,3 +74,16 @@ struct ls_device *ls_device_get(struct dt_device *dev); void ls_device_put(const struct lu_env *env, struct ls_device *ls); struct local_oid_storage *dt_los_find(struct ls_device *ls, __u64 seq); void dt_los_put(struct local_oid_storage *los); + +/* Lustre 2.3 on-disk structure describing local object OIDs storage + * the structure to be used with any sequence managed by + * local object library. + * Obsoleted since 2.4 but is kept for compatibility reasons, + * see lastid_compat_check() in obdclass/local_storage.c */ +struct los_ondisk { + __u32 lso_magic; + __u32 lso_next_oid; +}; + +#define LOS_MAGIC 0xdecafbee +