[roll] Roll fuchsia [starnix][splice] Do not eagerly lock file offsets

Our implementation of `splice` was eagerly locking the offsets for its
operands. This locking is usually not necessary. For example, one of the
operands is always a pipe, which does not need to lock its file offset.
Similarly, if when the operand is a fuse device, the lock isn't needed
because those devices do not use offsets.

This CL resolves a deadlock which can occur when multiple threads are
reading and writing a fuse device using splice. Now, we take the offset
locks using the normal offset locking machinery, which is aware of when
various operations block.

Additionally, this CL removes the `read_raw` and `write_raw` operations
on files because these operations no longer have any clients.

Original-Bug: b/323001474
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/986421
Original-Revision: 72ce1306030c62011b116688fde1c033324ce42b
GitOrigin-RevId: 6f2587a9ee801fb827eb6a80f7861d7523e62d43
Change-Id: If912f5678c3fda79290b246d0c4d0954682bf74d
1 file changed
tree: 1ab05d8c0cfc80f475e423798cdb12bde4f42ab5
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. 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.