| commit | 17e0beda962662c147c0147fd0c947b8915edffc | [log] [tgz] |
|---|---|---|
| author | James Sullivan <jfsulliv@fuchsia.infra.roller.google.com> | Thu Mar 25 00:19:06 2021 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Wed Mar 24 17:20:11 2021 -0700 |
| tree | 467325619a8c5984600c8d82e449a05e6b09b111 | |
| parent | 2d65f30372a8d991a95737c16ea1e97d863405ba [diff] |
[roll] Roll fuchsia [fxfs] Add reference types for Buffer Adds BufferRef and MutableBufferRef, which are arbitrarily sliceable reference types that are used for transacting with a Device (read/write). Reference types are necessary (instead of, e.g. &Buffer and &mut Buffer) because we need to support slicing buffers in the ObjectStore::read/write code. A slice of a buffer must necessarily yield a reference of some kind, and adding a reference type was necessary to make the lifetimes work out (since something needs to own the reference and have the lifetimes appropriately scoped). Buffer references must still be aligned by the time they are used for transacting with the block device. Assertions are added to ensure that we catch this at runtime. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/506164 Original-Revision: 92f34be61fc62e7374bdebdfed1e263cc97f6eff GitOrigin-RevId: 4aad5de9bf21f4b1b5fff0f04c1c298469383021 Change-Id: Ib207ff6b523f89fbb213e1336ab090a51b978fb8
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.