Skip to contentSkip to conversation

blk: fix a wrong accounting of hd_struct->in_flight

RFC PATCH New Yasuaki Ishimatsu 1 participant 1 message Dec 6, 2010

lore
Share & tools
lore
#0 lore raw

v6 cover blk: fix a wrong accounting of hd_struct->in_flight

Hi Jens, Linus, Vivek, Jerome,

Do you remember following problem?

https://lkml.org/lkml/2010/10/24/118

I try to fix a original problem, which is a wrong accounting of hd_struct->in_flight, by completely rewriting a patch.

Here are patches for fixing the original problem.

[PATCH 1/2] Don't merge different partition's IOs [PATCH 1/2] Change a argument of disk_map_sector_rcu() to

              hd_part->start_sect from req->__sector

For more details, please refer to the header of each patch.

Any comments or questions are welcome.

Thanks.
Yasuaki Ishimatsu