Messages in this thread | | | Date | Sat, 18 Feb 2006 19:50:05 +0000 | From | Alasdair G Kergon <> | Subject | Re: [PATCH 1/3] sysfs representation of stacked devices (dm/md common) |
| |
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@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/
| |