Skip to main content

splinter_intent_t

Type Alias splinter_intent_t 

Source
pub type splinter_intent_t = c_uint;
Expand description

@brief Memory-intent classes for a shard bid (the intent field). These mirror the POSIX_MADV_* advice classes. SPL_INTENT_NONE marks a record whose owner has not yet declared (or has cleared) its intent. DONTNEED is accepted as a bid but is governed by the soft bumper in splinter_shard_election(): it cannot win while live WILLNEED/SEQUENTIAL bids exist.