All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 3/5] ocfs2: Stop orphan scan as early as possible during umount
Date: Fri, 19 Jun 2009 14:57:50 -0700	[thread overview]
Message-ID: <20090619215750.GE29140@mail.oracle.com> (raw)
In-Reply-To: <1245447958-12996-3-git-send-email-sunil.mushran@oracle.com>

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

  reply	other threads:[~2009-06-19 21:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-19 21:45 [Ocfs2-devel] [PATCH 1/5] ocfs2: Pin journal head before accessing jh->b_committed_data Sunil Mushran
2009-06-19 21:45 ` [Ocfs2-devel] [PATCH 2/5] ocfs2: Fix ocfs2_osb_dump() Sunil Mushran
2009-06-19 23:31   ` Joel Becker
2009-06-19 21:45 ` [Ocfs2-devel] [PATCH 3/5] ocfs2: Stop orphan scan as early as possible during umount Sunil Mushran
2009-06-19 21:57   ` Joel Becker [this message]
2009-06-19 21:45 ` [Ocfs2-devel] [PATCH 4/5] ocfs2: Do not initialize lvb in ocfs2_orphan_scan_lock_res_init() Sunil Mushran
2009-06-19 21:59   ` Joel Becker
2009-06-19 21:45 ` [Ocfs2-devel] [PATCH 5/5] ocfs2: Disable orphan scanning for local and hard-ro mounts Sunil Mushran
2009-06-19 22:01   ` Joel Becker
2009-06-19 23:31 ` [Ocfs2-devel] [PATCH 1/5] ocfs2: Pin journal head before accessing jh->b_committed_data Joel Becker
2009-06-19 23:53 [Ocfs2-devel] Orphan scan fixes - V2 Sunil Mushran
2009-06-19 23:53 ` [Ocfs2-devel] [PATCH 3/5] ocfs2: Stop orphan scan as early as possible during umount Sunil Mushran
2009-06-20  6:04   ` Joel Becker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090619215750.GE29140@mail.oracle.com \
    --to=joel.becker@oracle.com \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.