public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Kent Overstreet <kmo-PEzghdH756F8UrSeD/g0lQ@public.gmane.org>
To: "Darrick J. Wong" <darrick.wong-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
Cc: kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: bcache hang on suspend? sometimes?
Date: Tue, 6 Aug 2013 16:12:42 -0700	[thread overview]
Message-ID: <20130806231241.GB8519@kmo-pixel> (raw)
In-Reply-To: <20130806230851.GA10118-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>

On Tue, Aug 06, 2013 at 04:08:52PM -0700, Darrick J. Wong wrote:
> On Tue, Aug 06, 2013 at 02:02:24PM -0700, Kent Overstreet wrote:
> > On Tue, Aug 06, 2013 at 01:56:50PM -0700, Darrick J. Wong wrote:
> > > Ok, I've narrowed it down a little bit --
> > > 
> > > It's not caused by any of the fixes that went into 3.10.[1-5].  It doesn't seem
> > > to be specific to any particular storage bus, controller, disk, or even cache
> > > set -- the same bcache'd usb stick will crash my laptop and not crash my test
> > > box.  The 4k/512b sector thing was a red herring; you can ignore that.
> > 
> > Ok, that makes more sense...
> > 
> > > The test box is a boring old Core2 box; the laptop is an Ivy Bridge.  I'll try
> > > to enable more verbose PM debugging to see if I can determine what exactly's
> > > going on at sleep time.  (Again, shooting in the dark...)
> > 
> > I just looked at the code and it appears there was a freezer fix that
> > didn't make it into 3.10 and should have. Can you try the
> > bcache-for-3.11 branch and see if that fixes it? If so, I'll get that
> > patch sent out for stable.
> 
> The suspend problem seems to be gone with the for-3.11 branch. 

Good!

> The branch
> seems to be based off 3.10-rc7... is that correct?

Yeah, that's just where it was when I sent Jens the pull request.

> Also, is there any way to figure out how much of a cache device is actively
> holding cached data?

<cache set dir>/cache0/priority_stats

      parent reply	other threads:[~2013-08-06 23:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130806231241.GB8519@kmo-pixel \
    --to=kmo-pezghdh756f8ursed/g0lq@public.gmane.org \
    --cc=darrick.wong-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
    --cc=kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox