From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] Can recovery be done in process context (as opposed to kthread)?
Date: Sat, 10 Sep 2011 07:29:25 -0700 [thread overview]
Message-ID: <4E6B7445.9080502@oracle.com> (raw)
In-Reply-To: <CAJtY7HVYZ3Uoy0QzBpUsrK68O9C6iUPkBe_YP6JCRskGHao9GA@mail.gmail.com>
On 09/09/2011 03:22 PM, Goldwyn Rodrigues wrote:
> Hi,
>
> I finally got back to improve the recovery procedure by offloading
> work to work queues. However, I would like to know if we can
> completely do away with ocfs2rec kthread. The process would just mark
> the nodes which need recovery and offload the work on the work queues
> and wait until all is over.
>
> The reason for doing it this way is to make the mount process
> killable. Currently the dlm locks are taken by ocfs2rec kthread while
> the mount waits in uninterruptible sleep while the recovery happens.
>
> This would help the High Availability software which send signals to
> mount procedure if it does not complete within timeout. This usually
> happens when journal takes a long time to replay; especially for nodes
> waiting for recovery to complete and not doing the actual recovery.
>
> Consider one node down procedure in the middle of I/O on a mounted
> system as well.
>
> We could keep the kthread with co-ordination as well.
I am not sure what that buys. The focus should be fixing what
ever that got the reco stuck in the first place. For the most
part, it gets stuck for reasons unrelated to ocfs2. Our focus
has been on allowing users to quickly identify the "bad" node
quickly.
next prev parent reply other threads:[~2011-09-10 14:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-09 22:22 [Ocfs2-devel] Can recovery be done in process context (as opposed to kthread)? Goldwyn Rodrigues
2011-09-10 14:29 ` Sunil Mushran [this message]
2011-09-11 8:45 ` 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=4E6B7445.9080502@oracle.com \
--to=sunil.mushran@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.