Skip to content
Snippets Groups Projects
Commit 32c67bde authored by Sean Klein's avatar Sean Klein Committed by CQ bot account: commit-bot@chromium.org
Browse files

[blobfs] Create BufferedOperation type

This allows clients to easily distinguish between
an "UnbufferedOperation" (not yet in a buffer registered
with the block device) and a "BufferedOperation", which
can directly be transmitted to storage via "FlushWriteRequests".

This change makes each operation self-describing, which makes
it easier to operate on collections of "BufferedOperation" objects
that might be acting on distinct objects (e.g., the Journal buffer
vs the data writeback buffer).

Change-Id: I98811f6e3a256f79fe83bd7e2ec13b717a38c3c5
parent b9d3ecdb
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment