[Ocfs2-devel] [PATCH 3/5] ocfs2: Stop orphan scan as early as possible during umount
Joel Becker
Joel.Becker at oracle.com
Fri Jun 19 14:57:50 PDT 2009
On Fri, Jun 19, 2009 at 02:45:56PM -0700, Sunil Mushran wrote:
> --- a/fs/ocfs2/ocfs2.h
> +++ b/fs/ocfs2/ocfs2.h
> @@ -162,6 +162,9 @@ struct ocfs2_orphan_scan {
> struct timespec os_scantime; /* time this node ran the scan */
> u32 os_count; /* tracks node specific scans */
> u32 os_seqno; /* tracks cluster wide scans */
> +#define ORPHAN_SCAN_ACTIVE 0
> +#define ORPHAN_SCAN_INACTIVE 1
Please make this enum ocfs2_orphan_scan_state.
Joel
--
"This is the end, beautiful friend.
This is the end, my only friend the end
Of our elaborate plans, the end
Of everything that stands, the end
No safety or surprise, the end
I'll never look into your eyes again."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list