Messages in this thread | | | Date | Wed, 22 Feb 2006 18:13:05 +0000 | From | Alasdair G Kergon <> | Subject | Re: [PATCH 2/3] sysfs representation of stacked devices (dm) (rev.2) |
| |
On Wed, Feb 22, 2006 at 12:13:56PM -0500, Jun'ichi Nomura wrote: > Alasdair G Kergon wrote: > > This patch needs splitting up so that independent changes can be > > considered separately. > > c.f. The proposal from Mike Anderson (repeated below) which I prefer > > because it makes it clear that a table always belongs to exactly one md.
> I like his proposed patch. > The interface is useful for my purpose too and moving table > creation inside _hash_lock means I don't need dm_get() neither.
The global _hash_lock should not be held (thereby locking out most dm ioctl operations on any device) while the slow populate_table() runs.
I'm trying out a variant of the patch that drops and reacquires that lock.
Alasdair -- agk@redhat.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |