public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Pierre Beck <debian-bugs-MZZvbRqs/9F0RdzJJlgK+g@public.gmane.org>
To: Kent Overstreet <koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Loosing transactions
Date: Tue, 29 Jan 2013 21:16:02 +0100	[thread overview]
Message-ID: <51082E02.7000908@pierre-beck.de> (raw)
In-Reply-To: <20130129190942.GM26407-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>

Am 29.01.2013 20:09, schrieb Kent Overstreet:
> I lied, that idea turned out to be wrong.
>
> Though - data=journal isn't that commonly used, an ext4 bug is an
> outside possibility (if it was assuming the pre 2.6.38 semantics of
> barriers that could cause this). Could you test with data=ordered and
> tell me what happens?
>

Sorry I didn't state that clearly. The ext4 data=journal test was for 
comparison only. All bcache tests were done with defaults, which is 
data=ordered.

# mkfs.ext4 -K -b 4096
# mount -o noatime

Disabling all hardware caches with hdparm AND putting bcache in 
writethrough mode made it pass the test, btw., with severe performance 
loss of course. What's really alarming is that bcache in writeback with 
hw caches deactivated still loses transactions. This points to the 
journal logic. Maybe the last element of the journal is simply not iterated?

Greetings,

Pierre Beck

  parent reply	other threads:[~2013-01-29 20:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23 20:14 Loosing transactions Pierre Beck
     [not found] ` <51004490.704-MZZvbRqs/9F0RdzJJlgK+g@public.gmane.org>
2013-01-24 23:35   ` Kent Overstreet
     [not found]     ` <20130124233559.GO26407-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2013-01-28 14:45       ` Pierre Beck
     [not found]         ` <51068F01.9060000-MZZvbRqs/9F0RdzJJlgK+g@public.gmane.org>
2013-01-29 19:01           ` Kent Overstreet
     [not found]             ` <20130129190133.GL26407-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2013-01-29 19:09               ` Kent Overstreet
     [not found]                 ` <20130129190942.GM26407-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2013-01-29 20:16                   ` Pierre Beck [this message]
     [not found]                     ` <51082E02.7000908-MZZvbRqs/9F0RdzJJlgK+g@public.gmane.org>
2013-01-30 19:02                       ` Kent Overstreet
     [not found]                         ` <20130130190220.GS26407-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2013-01-30 20:05                           ` Pierre Beck
     [not found]                             ` <51097D0A.6040204-MZZvbRqs/9F0RdzJJlgK+g@public.gmane.org>
2013-01-30 20:18                               ` Kent Overstreet

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=51082E02.7000908@pierre-beck.de \
    --to=debian-bugs-mzzvbrqs/9f0rdzjjlgk+g@public.gmane.org \
    --cc=koverstreet-hpIqsD4AKlfQT0dZR+AlfA@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