X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flov%2Flov_cl_internal.h;h=c5b3c3ee26318825193f5c39024e81c824e810cf;hp=45914f1cad0519896541b6ea91ef5b11da094fd0;hb=68fb53ad4bb2dbc2104d19613546ecf2534d97d5;hpb=01d23cc780c6c7fccdbc3e8948ceebbe67b30846 diff --git a/lustre/lov/lov_cl_internal.h b/lustre/lov/lov_cl_internal.h index 45914f1..c5b3c3e 100644 --- a/lustre/lov/lov_cl_internal.h +++ b/lustre/lov/lov_cl_internal.h @@ -249,6 +249,11 @@ struct lov_mirror_entry { unsigned short lre_end; /* end index of this mirror */ }; +enum lov_object_flags { + /* Layout is invalid, set when layout lock is lost */ + LO_LAYOUT_INVALID = 0x1, +}; + /** * lov-specific file state. * @@ -279,10 +284,9 @@ struct lov_object { */ enum lov_layout_type lo_type; /** - * True if layout is invalid. This bit is cleared when layout lock - * is lost. + * Object flags. */ - bool lo_layout_invalid; + unsigned long lo_obj_flags; /** * How many IOs are on going on this object. Layout can be changed * only if there is no active IO.