missing checksums on reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux