[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120907231433.GE10309@agk-dp.fab.redhat.com>
Date: Sat, 8 Sep 2012 00:14:33 +0100
From: Alasdair G Kergon <agk@...hat.com>
To: Jens Axboe <axboe@...nel.dk>,
Kent Overstreet <koverstreet@...gle.com>,
linux-bcache@...r.kernel.org, linux-kernel@...r.kernel.org,
dm-devel@...hat.com
Subject: Re: [dm-devel] [PATCH v10 4/8] block: Add bio_reset()
As I indicated already in this discussion, dm started to use
merge_bvec_fn as a cheap way of avoiding splitting and this improved
overall efficiency. Often it's better to pay the small price of calling
that function to ensure the bio is created the right size in the first
place so it won't have to get split later.
I'm as yet unconvinced that removing merge_bvec_fn would be an overall
win. Some of Kent's other changes that make splitting cheaper will
improve the balance in some situations, but that might be handled by
simplifying the merge_bvec_fn calculations in those situations.
(Or changing the mechanism to avoid repeating performing the mapping
when it hasn't changed.)
IOW Any proposal to remove merge_bvec_fn from dm needs careful
evaluation to ensure it doesn't introduce any significant
performance regressions for some sets of users.
Alasdair
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists