public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org
Subject: Re: [PATCH 1/2] Disk hot removal causing oopses and fixes
Date: Wed, 21 Oct 2009 23:19:41 +0200	[thread overview]
Message-ID: <4ADF7AED.2030506@s5r6.in-berlin.de> (raw)
In-Reply-To: <4ADF752D.7010206@s5r6.in-berlin.de>

Stefan Richter wrote:
> I dare say without knowing the MMC and block system:  It is not a
> locking issue, it is a reference counting issue.
[...]
> The whole secret is not to forget to count _all_ references.

PS, in case that it might be needed:  Sometimes a low level wants to
wait for the moment until its upper level users went away.  Reference
counting is then coupled with constructs like wait_for_completion then.
-- 
Stefan Richter
-=====-==--= =-=- =-=-=
http://arcgraph.de/sr/

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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21 16:12 [PATCH 1/2] Disk hot removal causing oopses and fixes Jarkko Lavinen
2009-10-21 16:14 ` [PATCH 2/2] " Jarkko Lavinen
2009-10-21 20:55 ` [PATCH 1/2] " Stefan Richter
2009-10-21 21:19   ` Stefan Richter [this message]
2009-11-03 11:54   ` Jarkko Lavinen
2009-11-03 19:51     ` Stefan Richter

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=4ADF7AED.2030506@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=axboe@kernel.dk \
    --cc=jarkko.lavinen@nokia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox