Re: [PATCH] block: fix q->max_segment_size checking in blk_recalc_rq_segments about VMERGE

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Bottomley
Date: Tuesday, July 15, 2008 - 9:36 am

On Tue, 2008-07-15 at 12:20 -0400, Mikulas Patocka wrote:

It can, but it's not optimal ... and depends on max_phys_segments ==
max_hw_segments.


That's not really a good reason.  You can eliminate code because it's
unused and unikely to be used or you redo it to better or fix it to be
less buggy.  You don't simply eliminate useful functionality that
currently has in-tree users, however marginal you might opine those
users to be.

James


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

Messages in current thread:
Re: [PATCH] block: fix q->max_segment_size checking in blk ..., James Bottomley, (Tue Jul 15, 9:36 am)