Commit 7f21738
blktrace: use rbuf->stats.full as a drop indicator in relayfs
Replace internal subbuf_start in blktrace with the default policy in
relayfs.
Remove dropped field from struct blktrace. Correspondingly, call the
common helper in relay. By incrementing full_count to keep track of how
many times we encountered a full buffer issue, user space will know how
many events were lost.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jason Xing <[email protected]>
Reviewed-by: Yushan Zhou <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Steven Rostedt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent a53202c commit 7f21738
1 file changed
Lines changed: 2 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
418 | 419 | | |
419 | 420 | | |
420 | | - | |
| 421 | + | |
421 | 422 | | |
422 | 423 | | |
423 | 424 | | |
| |||
456 | 457 | | |
457 | 458 | | |
458 | 459 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | 460 | | |
477 | 461 | | |
478 | 462 | | |
| |||
491 | 475 | | |
492 | 476 | | |
493 | 477 | | |
494 | | - | |
495 | 478 | | |
496 | 479 | | |
497 | 480 | | |
| |||
580 | 563 | | |
581 | 564 | | |
582 | 565 | | |
583 | | - | |
584 | 566 | | |
585 | 567 | | |
586 | 568 | | |
| |||
0 commit comments