diff options
author | Sheng Yang <sheng@yasker.org> | 2016-02-26 14:59:57 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2016-03-10 21:49:02 -0800 |
commit | 26418649eead52619d8dd6cbc6760a1b144dbcd2 (patch) | |
tree | 89baa8edf0b0f25f1a2c19a113ce064848e1e72b /block | |
parent | 0c28481ffb4683ef21c6664d15dbd5ae5a6cd027 (diff) | |
download | linux-26418649eead52619d8dd6cbc6760a1b144dbcd2.tar.bz2 |
target/user: Introduce data_bitmap, replace data_length/data_head/data_tail
The data_bitmap was introduced to support asynchornization accessing of
data area.
We divide mailbox data area into blocks, and use data_bitmap to track the
usage of data area. All the new command's data would start with a new block,
and may left unusable space after it end. But it's easy to track using
data_bitmap.
Now we can allocate data area for asynchronization accessing from userspace,
since we can track the allocation using data_bitmap. The userspace part would
be the same as Maxim's previous asynchronized implementation.
Signed-off-by: Sheng Yang <sheng@yasker.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions