[PATCH] block: drop unnecessary bvec rewinding from flush_dry_bio_endio

2007-06-06 Thread Tejun Heo
Barrier bios are completed twice - once after the barrier write itself is done and again after the whole sequence is complete. flush_dry_bio_endio() is for the first completion. It doesn't really complete the bio. It rewinds bvec and resets bio so that it can be completed again when the whole

[PATCH] block: drop unnecessary bvec rewinding from flush_dry_bio_endio

2007-06-06 Thread Tejun Heo
Barrier bios are completed twice - once after the barrier write itself is done and again after the whole sequence is complete. flush_dry_bio_endio() is for the first completion. It doesn't really complete the bio. It rewinds bvec and resets bio so that it can be completed again when the whole