[roll] Roll fuchsia [fxfs] Fix journal corruption

If journal replay advances the file offset to a non-block-aligned
offset, the writer was erroneously configured to start writing entries
immediately at that offset, rather than the next block-aligned offset.

This is in incorrect, because then the journal writer has to
read-modify-write existing journal blocks, which can result in
corruption since the block writes might not be atomic and existing
serialized records might end up in an indeterminate state.

Fixed this so that the journal writer always skips to the next
block-aligned offset.  This also has the benefit of preventing the
journal writer from doing costly read-modify-writes.

Re-enables `fxfs-crash`, which reproduces this issue.

Original-Bug: 91684
Original-Fixed: 92435
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/641041
Original-Revision: 9fac8be1639fcee5d463d505e8d53ae29f2493da
GitOrigin-RevId: 2c7cea670ed2e5ace09fbb9a2936e07543279b17
Change-Id: Ie9caaed27b40c689a8509445517c909fa323e92c
1 file changed
tree: 4388c3b1ad9b3b0e973b37bcbd3eba234c39d105
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.