diff options
| author | Christoph Böhmwalder <[email protected]> | 2022-11-09 14:34:53 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-11-09 12:40:36 -0700 |
| commit | ce668b6d68f9ddf76022b1c403b444f5a21cbc0f (patch) | |
| tree | 74373227d712dad7844a3b104dc600b0afde9bd7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 21b87a7d7564751590e3a38dfb243f9a0bbedbd2 (diff) | |
drbd: Store op in drbd_peer_request
(Sort of) cherry-picked from the out-of-tree drbd9 branch. Original
commit message by Joel Colledge:
This simplifies drbd_submit_peer_request by removing most of the
arguments. It also makes the treatment of the op better aligned with
that in struct bio.
Determine fault_type dynamically using information which is already
available instead of passing it in as a parameter.
Note: The opf in receive_rs_deallocated was changed from
REQ_OP_WRITE_ZEROES to REQ_OP_DISCARD. This was required in the
out-of-tree module, and does not matter in-tree. The opf is ignored
anyway in drbd_submit_peer_request, since the discard/zero-out is
decided by the EE_TRIM flag.
Signed-off-by: Joel Colledge <[email protected]>
Signed-off-by: Christoph Böhmwalder <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions