From: Alasdair G Kergon <agk@redhat.com>
To: Paul Taysom <taysom@chromium.org>
Cc: agk@redhat.com, dm-devel@redhat.com, neilb@suse.de,
linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org,
msb@chromium.org, mpatocka@redhat.com, olofj@chromium.org
Subject: Re: [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio
Date: Mon, 4 Mar 2013 17:42:54 +0000 [thread overview]
Message-ID: <20130304174254.GF8913@agk.fab.redhat.com> (raw)
In-Reply-To: <1362415549-18653-1-git-send-email-taysom@chromium.org>
On Mon, Mar 04, 2013 at 08:45:48AM -0800, Paul Taysom wrote:
> @@ -449,8 +468,14 @@ static void verity_prefetch_io(struct dm_verity *v, struct dm_verity_io *io)
> hash_block_end = v->hash_blocks - 1;
> }
> no_prefetch_cluster:
> - dm_bufio_prefetch(v->bufio, hash_block_start,
> - hash_block_end - hash_block_start + 1);
> + vw = kmalloc(sizeof(*vw), GFP_KERNEL);
kmalloc? mempool? ...
Alasdair
next prev parent reply other threads:[~2013-03-04 17:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-04 16:45 [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio Paul Taysom
2013-03-04 17:19 ` Paul Menzel
2013-03-04 21:21 ` Paul Taysom
2013-03-04 17:42 ` Alasdair G Kergon [this message]
2013-03-04 21:23 ` Paul Taysom
2013-03-04 22:15 ` Mikulas Patocka
2013-03-05 23:30 ` Paul Taysom
2013-03-12 14:46 ` Paul Taysom
2013-03-13 20:18 ` Paul Taysom
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=20130304174254.GF8913@agk.fab.redhat.com \
--to=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=mpatocka@redhat.com \
--cc=msb@chromium.org \
--cc=neilb@suse.de \
--cc=olofj@chromium.org \
--cc=taysom@chromium.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;
as well as URLs for NNTP newsgroup(s).