Motr
M0
|
#include <req.h>
Data Fields | |
struct m0_cas_req * | sc_creq |
struct m0_cas_next_reply * | sc_reps |
uint32_t | sc_reps_nr |
bool | sc_stop |
bool | sc_done |
uint32_t | sc_pos |
Sorting context for merge sorting NEXT results.
There is exactly one sorting context per CAS reply carrying records from one component catalogue. All records from CAS reply are loaded to 'sc_reps' before sorting algorithm starts. Sorting context has current position that is advanced during sorting algorithm.
Sorting algorithm for every starting key requested in NEXT operation basically do the following:
struct m0_cas_req* sc_creq |
struct m0_cas_next_reply* sc_reps |