[dm-devel] Re: [PATCH] dm-rwlock.patch (Re: 2.6.4-rc1-mm1: queue-congestion-dm-implementation patch)

Joe Thornber thornber at redhat.com
Mon Mar 8 15:16:40 UTC 2004


On Mon, Mar 08, 2004 at 08:12:18PM +0100, Miquel van Smoorenburg wrote:
> I also wasn't sure how bad it is for md->map to change during
> dm_request. With your patch, __split_bio() has a pointer to a
> refcounted copy of the table in ci.map, but multiple calls to
> __split_bio from the same dm_request could still end up with
> different maps, which could be bad (I don't know).

No, dm_request() only calls __dm_request() and hence __split_bio()
once.

- Joe




More information about the dm-devel mailing list