Re: [PATCH] BUG: nr_phys_segments cannot be less than nr_hw_segments

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: FUJITA Tomonori
Date: Monday, October 6, 2008 - 10:24 am

On Thu, 2 Oct 2008 19:13:57 +0200
Jens Axboe <jens.axboe@oracle.com> wrote:


Possibly, blk_phys_contig_segment might miscalculate
q->max_segment_size?

blk_phys_contig_segment does:

req->biotail->bi_size + next_req->bio->bi_size > q->max_segment_size;

But it's possible that req->biotail and the previous bio are supposed
be merged into one segment? Then we could create too large segment
here.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] BUG: nr_phys_segments cannot be less than nr_hw_se ..., Nikanth Karthikesan, (Thu Oct 2, 7:29 am)
Re: [PATCH] BUG: nr_phys_segments cannot be less than nr_h ..., Nikanth Karthikesan, (Thu Oct 2, 8:05 am)
Re: [PATCH] BUG: nr_phys_segments cannot be less than nr_h ..., Nikanth Karthikesan, (Thu Oct 2, 10:28 pm)
Re: [PATCH] BUG: nr_phys_segments cannot be less than nr_h ..., FUJITA Tomonori, (Mon Oct 6, 10:24 am)