| To: | Jens Axboe <axboe@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] bio allocation failure due to bio_get_nr_vecs() |
| From: | Jeff Moyer <jmoyer@xxxxxxxxxx> |
| Date: | Fri, 11 May 2012 12:29:09 -0400 |
| Cc: | Bernd Schubert <bernd.schubert@xxxxxxxxxxxxxxxxxx>, "linux-fsdevel\@vger.kernel.org" <linux-fsdevel@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, sandeen@xxxxxxxxxxx, Kent Overstreet <kent.overstreet@xxxxxxxxx>, Tejun Heo <tj@xxxxxxxxxx> |
| In-reply-to: | <4FAD23D4.2070405@xxxxxxxxx> (Jens Axboe's message of "Fri, 11 May 2012 16:36:04 +0200") |
| References: | <jognqm$o21$1@xxxxxxxxxxxxxxx> <4FABF01E.7080303@xxxxxxxxxxxxxxxxxx> <4FAD18D4.3090102@xxxxxxxxxxxxxxxxxx> <x49sjf6vml5.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4FAD23D4.2070405@xxxxxxxxx> |
| User-agent: | Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Jens Axboe <axboe@xxxxxxxxx> writes:
> On 05/11/2012 04:06 PM, Jeff Moyer wrote:
>> Bernd Schubert <bernd.schubert@xxxxxxxxxxxxxxxxxx> writes:
>>
>>> diff --git a/fs/bio.c b/fs/bio.c
>>> index e453924..84da885 100644
>>> --- a/fs/bio.c
>>> +++ b/fs/bio.c
>>> @@ -505,9 +505,14 @@ EXPORT_SYMBOL(bio_clone);
>>> int bio_get_nr_vecs(struct block_device *bdev)
>>> {
>>> struct request_queue *q = bdev_get_queue(bdev);
>>> - return min_t(unsigned,
>>> + int nr_pages;
>>
>> Looks like a corrupt patch.
>
> It's fine, I think you are misreading the added and removed lines :-)
Whoops, sorry!
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [XFS updates] XFS development tree branch, for-next, updated. v3.4-rc2-55-g85a00fc, xfs |
|---|---|
| Next by Date: | XFS (dm-5): xfs_swap_extents: inode 0x35dbd267 format is incompatible for exchanging., Sami Liedes |
| Previous by Thread: | Re: [PATCH] bio allocation failure due to bio_get_nr_vecs(), Jens Axboe |
| Next by Thread: | Re: [PATCH] bio allocation failure due to bio_get_nr_vecs(), Jens Axboe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |