[dm-devel] [PATCH v4 1/2] dm: prevent table type changes after initial table load

Alasdair G Kergon agk at redhat.com
Tue Jun 29 14:19:20 UTC 2010


On Tue, Jun 29, 2010 at 09:52:17AM -0400, Mike Snitzer wrote:
> As we talked about on irc.  There is potential for do_resume() to
> destage the "inactive" table slot, in the process of making the table
> "live", and in parallel another table load can arrive to stage another
> "inactive" table (which can have a conflicting type).  

But the type already got set earlier and, once set, is an immutable table
property.  There cannot be conflicts with do_resume - it doesn't touch
this.

Alasdair




More information about the dm-devel mailing list