Linux Kernel
3.7.1
|
#include <ubi-user.h>
Data Fields | |
__s32 | lnum |
__s32 | bytes |
__s8 | dtype |
__s8 | padding [7] |
struct ubi_leb_change_req - a data structure used in atomic LEB change requests. : logical eraseblock number to change : how many bytes will be written to the logical eraseblock : pass "3" for better compatibility with old kernels : reserved for future, not used, has to be zeroed
The field used to inform UBI about what kind of data will be written to the LEB: long term (value 1), short term (value 2), unknown (value 3). UBI tried to pick a PEB with lower erase counter for short term data and a PEB with higher erase counter for long term data. But this was not really used because users usually do not know this and could easily mislead UBI. We removed this feature in May 2012. UBI currently just ignores the field. But for better compatibility with older kernels it is recommended to set to 3 (unknown).
Definition at line 387 of file ubi-user.h.
__s32 bytes |
Definition at line 389 of file ubi-user.h.
Definition at line 390 of file ubi-user.h.
__s32 lnum |
Definition at line 388 of file ubi-user.h.
__s8 padding[7] |
Definition at line 391 of file ubi-user.h.