struct JournalWorkItem
Defined at line 34 of file ../../src/storage/lib/vfs/cpp/journal/journal_writer.h
A small container encapsulating a buffered request, along with the reservation that makes the
buffered request valid. These two pieces of data are coupled together because lifetime of the
operations must not exceed the lifetime of the reservation itself.
This struct is used for both journaled metadata and unjournaled data.
Public Members
BlockingRingBufferReservation reservation
vector operations
callback_impl commit_callback
callback_impl complete_callback
Public Methods
void JournalWorkItem (storage::BlockingRingBufferReservation reservation, std::vector<storage::BufferedOperation> operations)
Defined at line 35 of file ../../src/storage/lib/vfs/cpp/journal/journal_writer.h