diff options
author | Song Liu <songliubraving@fb.com> | 2017-03-10 06:23:39 +0100 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-03-17 00:55:57 +0100 |
commit | ea17481fb48888fa11f412766bde36be9171247e (patch) | |
tree | 6182267810999a7a43f6905f097af91365ddcc38 /drivers/crypto/chelsio | |
parent | md/r5cache: handle R5LOG_PAYLOAD_FLUSH in recovery (diff) | |
download | linux-ea17481fb48888fa11f412766bde36be9171247e.tar.xz linux-ea17481fb48888fa11f412766bde36be9171247e.zip |
md/r5cache: generate R5LOG_PAYLOAD_FLUSH
In r5c_finish_stripe_write_out(), R5LOG_PAYLOAD_FLUSH is append to
log->current_io.
Appending R5LOG_PAYLOAD_FLUSH in quiesce needs extra writes to
journal. To simplify the logic, we just skip R5LOG_PAYLOAD_FLUSH in
quiesce.
Even R5LOG_PAYLOAD_FLUSH supports multiple stripes per payload.
However, current implementation is one stripe per R5LOG_PAYLOAD_FLUSH,
which is simpler.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/crypto/chelsio')
0 files changed, 0 insertions, 0 deletions