Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* missing checksums on reboot
@ 2016-12-02 19:07 Blake Lewis
  2016-12-02 19:47 ` Lionel Bouton
  0 siblings, 1 reply; 6+ messages in thread
From: Blake Lewis @ 2016-12-02 19:07 UTC (permalink / raw)
  To: linux-btrfs

Hi, all, this is my first posting to the mailing list.  I am a
long-time file system guy who is just starting to take a serious
interest in btrfs.

My company's product uses btrfs for its backing storage.  We
maintain a log file to let us synchronize after reboots.  In
testing, we find that when the system panics and we read the
file after coming back up, we intermittently (but fairly often)
get "no csum found for inode X start Y" messages and from our
point of view, the log is corrupt.

Here are a few pertinent details:

1) When we see this, the device is always an SSD.
2) We reproduce it easily with 3.10 kernels but we have not
been able to reproduce it in 4.8.
3) The log file is opened with O_SYNC|O_DIRECT; its size is 128MB
and we are appending to it.
4) No other activity in the file system except a generated sequential
write workload
5) Panics are induced with "echo c > /proc/sysrq-trigger".

We filed a bug (https://bugzilla.kernel.org/show_bug.cgi?id=188051)
but I wanted to see if anyone here recognized these symptoms and
could point me in the right direction, especially since the problem
seems to have gone away in more recent releases.  We can't realistically
make our customers run newer kernels, so I want to understand the
nature of the bug and whether it might be able to fix it in the older
code.

Thanks for any guidance.

Blake

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-03 20:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 19:07 missing checksums on reboot Blake Lewis
2016-12-02 19:47 ` Lionel Bouton
2016-12-02 20:36   ` Blake Lewis
2016-12-03  5:58     ` Duncan
2016-12-03  7:20       ` Blake Lewis
2016-12-03 20:14     ` Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox