All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Prashant Shah <pshah.mumbai@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: freeze_bdev hangs
Date: Fri, 05 Oct 2012 12:33:26 -0500	[thread overview]
Message-ID: <506F19E6.8030005@redhat.com> (raw)
In-Reply-To: <CAD6i1f+fzh-z+Xr6V2gHBzq4kmJzPcfre91g=q6fJ7P_5nY0Zw@mail.gmail.com>

On 10/5/12 6:58 AM, Prashant Shah wrote:
> Hi,
> 
> I am writing a filter driver for ext3 in which it replaces the block
> device request queue 'make_request_fn' with the driver custom
> function. Calling freeze_bdev() or freeze_super() before replacing the
> 'make_request_fn' hangs the kernel. What am I doing wrong ? Will this
> method work ?

I haven't looked at your custom code, but freeze has changed a bit lately,
and "hangs" is a very vague description

For starters I'd try a sysrq-w when the system "hangs" and see where things
are at, that would offer you some clues.

-Eric

  reply	other threads:[~2012-10-05 17:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-05 11:58 freeze_bdev hangs Prashant Shah
2012-10-05 17:33 ` Eric Sandeen [this message]
2012-10-08  7:43   ` Prashant Shah
2012-10-08 16:19     ` Jan Kara
2012-10-08 16:35       ` Prashant Shah
2012-10-09 21:49         ` Jan Kara
2012-10-12 16:08           ` Prashant Shah
2012-12-04 13:10             ` Prashant Shah
2012-10-08 18:21     ` Eric Sandeen
2012-10-08 18:48       ` Prashant Shah
2012-10-09  5:13         ` Prashant Shah

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=506F19E6.8030005@redhat.com \
    --to=sandeen@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=pshah.mumbai@gmail.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.