From: Ming Lei <ming.lei@redhat.com>
To: Vito Caputo <vcaputo@pengaru.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
snitzer@redhat.com, hch@lst.de, xni@redhat.com,
mariusz.dabrowski@intel.com, axboe@kernel.dk
Subject: Re: Does the discard bug introduced in 4.19 by 744889b7cbb56a6 and fixed by 1adfc5e4136f5967 have potential for fstrim-caused corruption?
Date: Mon, 12 Nov 2018 09:22:14 +0800 [thread overview]
Message-ID: <20181112012213.GA21443@ming.t460p> (raw)
In-Reply-To: <20181110080635.wvlg6o34vtgndshw@shells.gnugeneration.com>
On Sat, Nov 10, 2018 at 12:06:35AM -0800, Vito Caputo wrote:
> I ask because I recently performed some fstrims on my 4.19-running
> laptop after a good house cleaning, and things started going rather
> haywire today at the filesystem level, on different filesystems of
> differing types (ext2 and ext4) but sharing the same underlying lvm
> pv+dmcrypt on an SSD.
Could you share us your test case? And what is the exact issue triggered
in your system?
>
> At the time I needed to get work done and couldn't investigate. So I
> crossed my fingers and rebooted back into 4.18, let some ugly fscks
> complete, and carried on like nothing happened.
>
> This all seems to be a software bug, not a genuine SSD failure of any
> sort.
>
> My filesystems are now all in a questionable state, though the machine
> seems usable enough for the moment while I prepare for rebuilding.
>
> Should I assume this was all caused by the fstrims and 744889b7cbb56a6?
You may confirm that by revert 744889b7cbb56a6 and see if your issue is
gone.
However, 1adfc5e4136f5967d is supposed to fix 744889b7cbb56a6, so I
strongly suggest you to can verify 1adfc5e4136f5967d.
Thanks,
Ming
prev parent reply other threads:[~2018-11-12 1:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-10 8:06 Vito Caputo
2018-11-12 1:22 ` Ming Lei [this message]
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=20181112012213.GA21443@ming.t460p \
--to=ming.lei@redhat.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mariusz.dabrowski@intel.com \
--cc=snitzer@redhat.com \
--cc=vcaputo@pengaru.com \
--cc=xni@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®