Re: [PATCH 005 of 35] Stop updating bi_idx, bv_len, bv_offset when a request completes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: NeilBrown <neilb@...>
Cc: <linux-kernel@...>
Date: Wednesday, August 1, 2007 - 10:54 am

Hello,

Went through 1-4 and all look sane and seem to be nice clean ups with or
without the rest of series.  I didn't really dig into each conversion,
so I can't say much about correctness tho.

NeilBrown wrote:

Just a small nit.  It might be easier on eyes to use something like
blk_first_segment(rq), which can also be used to implement rq_for_each.


Implementing and using blk_seg_iter_init(iter, rq) and
blk_seg_iter_next(iter) would be much more readable and take less cache
space.

-- 
tejun
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 005 of 35] Stop updating bi_idx, bv_len, bv_offse..., Tejun Heo, (Wed Aug 1, 10:54 am)