X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flclient.h;h=a1bc9aa1c7ab87f1afafb8b0d3bd24c12fd671af;hp=9c5677016501e893cfba9493c6f6d0cca323b51d;hb=624a3ac233938153e889ae81f639cf46c0a8312b;hpb=4d65293e59a844518faaa0b56efb429a0d4612d5 diff --git a/lustre/include/lclient.h b/lustre/include/lclient.h index 9c56770..a1bc9aa 100644 --- a/lustre/include/lclient.h +++ b/lustre/include/lclient.h @@ -204,6 +204,18 @@ struct ccc_object { * \see ll_vm_open(), ll_vm_close(). */ cfs_atomic_t cob_mmap_cnt; + + /** + * various flags + * cob_discard_page_warned + * if pages belonging to this object are discarded when a client + * is evicted, some debug info will be printed, this flag will be set + * during processing the first discarded page, then avoid flooding + * debug message for lots of discarded pages. + * + * \see ll_dirty_page_discard_warn. + */ + int cob_discard_page_warned:1; }; /**