From: Anssi Hannula <anssi.hannula@iki.fi>
To: Joe Thornber <ejt@redhat.com>
Cc: dm-devel@redhat.com, stable@vger.kernel.org,
Alasdair G Kergon <agk@redhat.com>
Subject: Re: [PATCH] dm cache: fix race affecting dirty block count
Date: Sat, 02 Aug 2014 00:02:48 +0300 [thread overview]
Message-ID: <53DC0078.50308@iki.fi> (raw)
In-Reply-To: <20140801151729.GA27644@debian>
01.08.2014, 18:17, Joe Thornber kirjoitti:
> On Thu, Jul 31, 2014 at 09:31:27PM +0300, Anssi Hannula wrote:
>> I did notice that after a reboot (after having incorrect nr_dirty) the
>> entire cache was considered to be dirty and a full writeback occurred,
>> but I don't know if that was related at all.
>
> Did you take the cache down cleanly? Normally this happens when you
> shutdown without destroying the cache device first.
Apparently not. Looking at the logs systemd-cryptsetup failed to
deactivate the dm-crypt volume on top of the LV, as it was still mounted
as it seems systemd (v208) tried to unmount them way too early, while
they were still in use. Or maybe it should have retried later but didn't
for some reason... will have to debug further.
In any case, not a dm-cache issue it seems.
> Patch looks good.
>
> - Joe
>
--
Anssi Hannula
next prev parent reply other threads:[~2014-08-01 21:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-26 4:07 dm-cache race on nr_dirty in set_dirty/clear_dirty? Anssi Hannula
2014-07-31 18:31 ` [PATCH] dm cache: fix race affecting dirty block count Anssi Hannula
2014-08-01 15:17 ` Joe Thornber
2014-08-01 21:02 ` Anssi Hannula [this message]
2014-08-17 20:24 ` Anssi Hannula
2014-09-05 0:11 ` [PATCH] dm cache: fix race causing dirty blocks to be marked as clean Anssi Hannula
2014-09-09 9:54 ` Joe Thornber
-- strict thread matches above, loose matches on Subject: below --
2014-08-03 2:00 [PATCH] dm cache: fix race affecting dirty block count Pranith Kumar
2014-08-03 2:08 ` Pranith Kumar
2014-08-03 2:10 ` Pranith Kumar
2014-08-03 3:33 ` Anssi Hannula
2014-08-03 4:01 ` Pranith Kumar
2014-08-04 10:48 ` Joe Thornber
2014-08-04 15:02 ` Pranith Kumar
2014-08-03 4:46 ` Pranith Kumar
2014-08-03 4:57 ` Pranith Kumar
2014-08-03 5:17 ` Pranith Kumar
2014-08-03 5:28 ` Pranith Kumar
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=53DC0078.50308@iki.fi \
--to=anssi.hannula@iki.fi \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=ejt@redhat.com \
--cc=stable@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.