Re: [PATCH 1/3] sysfs representation of stacked devices (dm/md common)
From: Alasdair G Kergon
Date: Sat Feb 18 2006 - 14:49:13 EST
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@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/