public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
* bcache hang on suspend? sometimes?
@ 2013-08-06  5:34 Darrick J. Wong
       [not found] ` <20130806053403.GB7998-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Darrick J. Wong @ 2013-08-06  5:34 UTC (permalink / raw)
  To: kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA

Hi,

Lately (i.e. 3.10.5) I thought I'd give bcache a try on my work laptop.  I
paired up a boring SATA SSD with one of those newfangled 4k "advanced format"
drives, and formatted the whole stack with dm-crypt + lvm + ext4 on top of
bcache.  Things were looking pretty good -- LKML loads much faster in mutt, and
all was well with the world, even suspend/resume worked fine.

Then I rebooted the machine.  After the reboot, the machine will hang every
time I suspend.  I set up netconsole and set no_console_suspend=1, but nothing
interesting showed up in dmesg.  I see that SCSI managed to flush the disks,
but everything seems to stop dead.  No lockup messages or anything.

Curiously, if I set up a bcache between that SSD and a 512-byte-sector old
school disk, suspend/resume seem fine even after a reboot.  My bcache test
machine also suspends/resumes just fine.  I tried simulating a 4k disk with
qemu to see if I could arrange an easier testcase, but I couldn't reproduce the
hang there either.  (Yes, I do have bcache debugging turned on.)

I'll keep plugging away on this as time permits, but I was wondering -- has
anyone else seen this before?  Is this my own little crazy party?  I was
careful to make sure everything on the AF drive lined up on a 4k alignment.

<shrug>

--D

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-06 23:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06  5:34 bcache hang on suspend? sometimes? Darrick J. Wong
     [not found] ` <20130806053403.GB7998-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-08-06 20:56   ` Darrick J. Wong
     [not found]     ` <20130806205650.GA5878-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-08-06 21:02       ` Kent Overstreet
2013-08-06 22:48         ` Darrick J. Wong
2013-08-06 23:08         ` Darrick J. Wong
     [not found]           ` <20130806230851.GA10118-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-08-06 23:12             ` Kent Overstreet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox