From: Tim Small <tim@buttersideup.com>
To: Eric Wheeler <bcache@lists.ewheeler.net>,
James Johnston <johnstonj.public@codenest.com>
Cc: linux-bcache@vger.kernel.org, dm-crypt@saout.de, dm-devel@redhat.com
Subject: Re: [dm-crypt] bcache gets stuck flushing writeback cache when used in combination with LUKS/dm-crypt and non-default bucket size
Date: Mon, 16 May 2016 14:53:46 +0100 [thread overview]
Message-ID: <5739D0EA.3080000@buttersideup.com> (raw)
In-Reply-To: <5739C4D7.7040600@buttersideup.com>
On 16/05/16 14:02, Tim Small wrote:
> # iostat -y -d 2 -x -p /dev/sdf /dev/dm-0 /dev/md2 /dev/bcache0
... and then mangled the word-wrapping. Try again:
Here's a typical hand-edited excerpt from:
iostat -d 2 -x -y -m -p /dev/sdf /dev/dm-0 /dev/md2 /dev/bcache0
...
Device: r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await
sdf 396.50 19.50 272.02 0.25 1340.38 138.44 346.09
sdf3 397.00 0.00 272.52 0.00 1405.83 130.05 338.40
dm-0 0.00 149.00 0.00 271.29 3728.81 0.01 0.04
md2 0.00 0.00 0.00 0.00 0.00 0.00 0.00
bcache0 0.00 0.00 0.00 0.00 0.00 0.00 0.00
where:
sdf is the SSD (bcache cache device is sdf3)
dm-0 is dm-crypt backing device (bcache backing store)
md2 is the underlying device for dm-crypt
bcache0 is the bcache device.
According to the iostat manual page:
"avgrq-sz The average size (in sectors) of the requests that were issued
to the device."
dm-0 is described like this in the output of 'dmsetup table':
encryptedstore01: 0 46879675392 crypt aes-xts-plain64
0000000000000000000000000000000000000000000000000000000000000000 0 9:2
3072 1 allow_discards
Tim.
next prev parent reply other threads:[~2016-05-16 13:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-08 18:39 [dm-crypt] bcache gets stuck flushing writeback cache when used in combination with LUKS/dm-crypt and non-default bucket size James Johnston
2016-05-11 1:38 ` Eric Wheeler
[not found] ` <57383C99.6090206@buttersideup.com>
2016-05-16 13:02 ` Tim Small
2016-05-16 13:53 ` Tim Small [this message]
2016-05-19 23:15 ` Eric Wheeler
2016-05-18 17:01 ` [dm-crypt] [dm-devel] " James Johnston
2016-05-16 16:08 ` [dm-crypt] " Tim Small
2016-05-19 23:22 ` Eric Wheeler
2016-05-20 6:59 ` James Johnston
2016-05-20 21:37 ` 'Eric Wheeler'
2016-05-22 4:26 ` James Johnston
2016-05-27 14:47 ` [dm-crypt] [PATCH] dm-crypt: Fix error with too large bios (was: bcache gets stuck flushing writeback cache when used in combination with LUKS/dm-crypt and non-default bucket size) Mikulas Patocka
2016-06-01 4:19 ` James Johnston
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=5739D0EA.3080000@buttersideup.com \
--to=tim@buttersideup.com \
--cc=bcache@lists.ewheeler.net \
--cc=dm-crypt@saout.de \
--cc=dm-devel@redhat.com \
--cc=johnstonj.public@codenest.com \
--cc=linux-bcache@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox