[dm-devel] Re: [PATCH 1/3] sysfs representation of stacked devices (dm/md common)

Alasdair G Kergon agk at redhat.com
Sat Feb 18 19:50:05 UTC 2006


On Fri, Feb 17, 2006 at 08:03:48PM -0500, Jun'ichi Nomura wrote:
> I moved the sysfs_add_link() to the last part of dm_resume().

Test with trees of devices too - where a whole tree is suspended -
I don't think you can allocate anywhere in dm_swap_table()
without PF_MEMALLOC (which I recently removed and am reluctant
to reinstate).

Have you considered if anything is feasible based around bd_claim()?
Doesn't it make more sense for the links to be set up at table
load time - i.e. superset of both tables if present?

Alasdair
-- 
agk at redhat.com




More information about the dm-devel mailing list