Re: [PATCH] BUG: ll_merge_requests_fn() updates req->nr_phys_segments wrongly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: FUJITA Tomonori
Date: Thursday, September 25, 2008 - 12:35 am

On Tue, 23 Sep 2008 23:58:02 +0530
Nikanth Karthikesan <knikanth@suse.de> wrote:


Yeah, in fact, blk_hw_contig_segment() is always false on the majority
of architectures (on only PARISC and Alpha, it could be true).

Your patch doesn't look correct. Virtually, the patch always disables
physical merging.



I have no idea how BUG_ON() in scsi_init_sgtable() is triggered.

Can you give more information, HBA, IOMMU (if you use), and the values
of req->nr_phys_segment, req->nr_hw_segment, count, etc in in
scsi_init_sgtable() when you hit the bug?


BTW, blk_hw_contig_segment() will be removed for 2.6.28 (virtual
merging account in the block layer will be removed).
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] BUG: ll_merge_requests_fn() updates req-&gt;nr_phys_s ..., Nikanth Karthikesan, (Tue Sep 23, 11:28 am)
Re: [PATCH] BUG: ll_merge_requests_fn() updates req->nr_ph ..., FUJITA Tomonori, (Thu Sep 25, 12:35 am)