[dm-devel] 2.6.35 causes deadlock when snapshotting root lv

Mike Snitzer snitzer at redhat.com
Thu Jun 17 14:27:32 UTC 2010


On Thu, Jun 17 2010 at  9:50am -0400,
Phillip Susi <psusi at cfl.rr.com> wrote:

> What:
> 
> lvcreate -s -n snap -L 1g vg/root hangs in an unkillable state while
> trying to flush the fs and suspend the device to switch tables over to
> the snapshot, and no further IO is possible so the system must be hard
> booted with magic-sysrq.
> 
> Where: 2.6.35, all 3 release candidates.  2.6.34 and earlier kernels are
> fine.

Which filesystem are you using?  Which 2.6.35-rc?

There haven't been _any_ changes to DM for 2.6.35 (some DM fixes may get
pushed to Linus once Alasdair gets back from traveling).

So what this means is that the VFS (or ext4) freeze changes introduced
in 2.6.35 are the likely culprit:

http://git.kernel.org/linus/18e9e5104fcd9a9
http://git.kernel.org/linus/6b0310fbf087ad6

Though it could also be an issue with the various 2.6.35 writeback
changes (depending on which -rcX you're using).

Point is: this is not a DM regression.

Mike




More information about the dm-devel mailing list