diff options
author | chrisrd <[email protected]> | 2018-03-03 05:01:53 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-03-02 10:01:53 -0800 |
commit | 5666a994f2b17f1d720efa83d4c64b1ed7bb53d0 (patch) | |
tree | 216e50f8ad3439660ffc4c998cf38d3280bfe5c3 /man/Makefile.am | |
parent | d0f6fbaff383d0ea0b11f4e4547d6b062ef7ddad (diff) |
Increment zil_itx_needcopy_bytes properly
In zil_lwb_commit() with TX_WRITE, we copy the log write record (lrw)
into the log write block (lwb) and send it off using zil_lwb_add_txg().
If we also have WR_NEED_COPY, we additionally copy the lwr's data into
the lwb to be sent off. If the lwr + data doesn't fit into the lwb, we
send the lrw and as much data as will fit (dnow bytes), then go back
and do the same with the remaining data.
Each time through this loop we're sending dnow data bytes. I.e.
zil_itx_needcopy_bytes should be incremented by dnow.
Reviewed-by: Richard Elling <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Chris Dunlop <[email protected]>
Closes #6988
Closes #7176
Diffstat (limited to 'man/Makefile.am')
0 files changed, 0 insertions, 0 deletions