From: Carsten Aulbert <Carsten.Aulbert-l1a6w7hxd2yELgA04lAiVw@public.gmane.org>
To: Kent Overstreet <kmo-PEzghdH756F8UrSeD/g0lQ@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: running iozone on bcache0 device yields wrongly read data
Date: Wed, 18 Sep 2013 06:34:21 +0200 [thread overview]
Message-ID: <52392D4D.3020506@aei.mpg.de> (raw)
In-Reply-To: <20130917204059.GB32037@kmo-pixel>
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
Hi
On 09/17/2013 10:40 PM, Kent Overstreet wrote:
> What's your setup? Are you running md, lvm? What filesystem?
Very basic, no md or LVM involved. /dev/sda2 is the backing device and
/dev/sdb is the cache device. On top of bcache0 I'm running xfs:
# parted -s /dev/sda p
Model: ATA Hitachi HDP72505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 10.5GB 10.5GB primary xfs boot
2 10.5GB 499GB 489GB primary
3 499GB 500GB 1049MB primary linux-swap(v1)
# parted -s /dev/sdb p
Error: /dev/sdb: unrecognised disk label
# grep bcache /proc/mounts
/dev/bcache0 /srv xfs rw,relatime,attr2,inode64,noquota 0 0
# bcache-super-show /dev/sda2
sb.magic ok
sb.first_sector 8 [match]
sb.csum 7B66B1004B52FD9A [match]
sb.version 1 [backing device]
dev.uuid 3a131733-7d54-4feb-bf8c-62d6fbdbf935
dev.sectors_per_block 1
dev.sectors_per_bucket 1024
dev.data.first_sector 16
dev.data.cache_mode 1 [writeback]
dev.data.cache_state 1 [clean]
cset.uuid 2a108307-bab9-42dd-b072-10eeb0c13dd8
# bcache-super-show /dev/sdb
sb.magic ok
sb.first_sector 8 [match]
sb.csum 88965AD15D35A500 [match]
sb.version 3 [cache device]
dev.uuid ffb6fc80-1dca-42d4-a951-cddee6af689e
dev.sectors_per_block 1
dev.sectors_per_bucket 1024
dev.cache.first_sector 1024
dev.cache.cache_sectors 62498816
dev.cache.total_sectors 62499840
dev.cache.discard no
dev.cache.pos 0
cset.uuid 2a108307-bab9-42dd-b072-10eeb0c13dd8
Does this help?
cheers
Carsten
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2044 bytes --]
next prev parent reply other threads:[~2013-09-18 4:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-17 19:17 running iozone on bcache0 device yields wrongly read data Carsten Aulbert
[not found] ` <5238AAE5.8000800-l1a6w7hxd2yELgA04lAiVw@public.gmane.org>
2013-09-17 20:40 ` Kent Overstreet
2013-09-18 4:34 ` Carsten Aulbert [this message]
[not found] ` <52392D4D.3020506-l1a6w7hxd2yELgA04lAiVw@public.gmane.org>
2013-09-18 4:45 ` Kent Overstreet
2013-09-18 6:42 ` Carsten Aulbert
[not found] ` <52394B5C.8000106-l1a6w7hxd2yELgA04lAiVw@public.gmane.org>
2013-09-18 8:43 ` Carsten Aulbert
[not found] ` <523967C8.7010502-l1a6w7hxd2yELgA04lAiVw@public.gmane.org>
2013-09-18 8:48 ` Kent Overstreet
2013-09-18 11:41 ` Carsten Aulbert
[not found] ` <52399172.2030206-l1a6w7hxd2yELgA04lAiVw@public.gmane.org>
2013-10-06 17:33 ` Carsten Aulbert
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=52392D4D.3020506@aei.mpg.de \
--to=carsten.aulbert-l1a6w7hxd2yelga04laivw@public.gmane.org \
--cc=kmo-PEzghdH756F8UrSeD/g0lQ@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