diff options
| author | Adrien Schildknecht <adriens@google.com> | 2016-11-07 12:37:55 -0800 |
|---|---|---|
| committer | Daniel Rosenberg <drosen@google.com> | 2017-02-09 04:04:02 +0000 |
| commit | c9994560db8e33d933a3e844b75e5ba2f40764db (patch) | |
| tree | 853d069716d33fcc50645c820570b4a05e18920b /include/crypto/algapi.h | |
| parent | 417aca479b15292460e981f969d3bcb7fb89517c (diff) | |
Squashfs: replace buffer_head with BIO
The 'll_rw_block' has been deprecated and BIO is now the basic container
for block I/O within the kernel.
Switching to BIO offers 2 advantages:
1/ It removes synchronous wait for the up-to-date buffers: SquashFS
now deals with decompressions/copies asynchronously.
Implementing an asynchronous mechanism to read data is needed to
efficiently implement .readpages().
2/ Prior to this patch, merging the read requests entirely depends on
the IO scheduler. SquashFS has more information than the IO
scheduler about what could be merged. Moreover, merging the reads
at the FS level means that we rely less on the IO scheduler.
Signed-off-by: Adrien Schildknecht <adriens@google.com>
Change-Id: I775d2e11f017476e1899518ab52d9d0a8a0bce28
Diffstat (limited to 'include/crypto/algapi.h')
0 files changed, 0 insertions, 0 deletions
