All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Thanos Makatos <thanos.makatos@onapp.com>
Cc: device-mapper development <dm-devel@redhat.com>,
	ejt@redhat.com, Mauelshagen@redhat.com
Subject: Re: back-ported dm-cache not forwarding read-ahead bios to origin
Date: Mon, 20 Jul 2015 13:22:26 -0400	[thread overview]
Message-ID: <20150720172226.GA27018@redhat.com> (raw)
In-Reply-To: <CAM2wQBv43BGGhe+NHOEAz+usppL6CcR-2m_ratKNKR65GB+XVA@mail.gmail.com>

On Mon, Jul 20 2015 at 12:50pm -0400,
Thanos Makatos <thanos.makatos@onapp.com> wrote:

> I'm working on a back-ported dm-cache version for kernel 2.6.32-431.29.2
> (the CentOS 6 patched one) and I'm trying to solve a corruption bug
> apparently introduced during the back-port. I can consistently reproduce it
> by simply mounting an ext4 file-system that contains some data and running
> stat(1) against a specific directory. stat(1) fails with "Input/output
> error" and dmesg says:"EXT4-fs error (device dm-8): ext4_lookup: deleted
> inode referenced: 29". The file-system is mounted with options
> "data=writeback,ro,nodiscard,inode_readahead_blks=1" in order to minimise
> noise.

Upstream backports to RHEL6 are tricky because it doesn't have
upstream's latest block changes.  Care must be taken during the
backport.  I could easily see someone less aware of the pitfalls
producing a buggy kernel that cause corruption like you've reported.

The last dm-cache backport to RHEL6 was kernel-2.6.32-528.el6.
That backport sync'd dm-cache changes through upstream Linux 3.19.

I'm not going to put any time to this report.  Your best bet is to
rebase to the >= 528.el6 kernel and go from there (this translates to
the forthcoming RHEL6.7 kernel as the first publicly available release
with the changes in question).

Mike

  reply	other threads:[~2015-07-20 17:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20 16:50 back-ported dm-cache not forwarding read-ahead bios to origin Thanos Makatos
2015-07-20 17:22 ` Mike Snitzer [this message]
2015-07-21  9:56   ` Thanos Makatos

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=20150720172226.GA27018@redhat.com \
    --to=snitzer@redhat.com \
    --cc=Mauelshagen@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=ejt@redhat.com \
    --cc=thanos.makatos@onapp.com \
    /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.