Pull core block updates from Jens Axboe: "Due to more granular branches, this one is small and will be followed with other core branches that add specific features. I meant to just have a core and drivers branch, but external dependencies we ended up adding a few more that are also core. The changes are: - Fixes and improvements for the zoned device support (Ajay, Damien) - sed-opal table writing and datastore UID (Revanth) - blk-cgroup (and bfq) blk-cgroup stat fixes (Tejun) - Improvements to the block stats tracking (Pavel) - Fix for overruning sysfs buffer for large number of CPUs (Ming) - Optimization for small IO (Ming, Christoph) - Fix typo in RWH lifetime hint (Eugene) - Dead code removal and documentation (Bart) - Reduction in memory usage for queue and tag set (Bart) - Kerneldoc header documentation (André) - Device/partition revalidation fixes (Jan) - Stats tracking for flush requests (Konstantin) - Various other little fixes here and there (et al)" * tag 'for-5.5/block-20191121' of git://git.kernel.dk/linux-block: (48 commits) Revert "block: split bio if the only bvec's length is > SZ_4K" block: add iostat counters for flush requests block,bfq: Skip tracing hooks if possible block: sed-opal: Introduce SUM_SET_LIST parameter and append it using 'add_token_u64' blk-cgroup: cgroup_rstat_updated() shouldn't be called on cgroup1 block: Don't disable interrupts in trigger_softirq() sbitmap: Delete sbitmap_any_bit_clear() blk-mq: Delete blk_mq_has_free_tags() and blk_mq_can_queue() block: split bio if the only bvec's length is > SZ_4K block: still try to split bio if the bvec crosses pages blk-cgroup: separate out blkg_rwstat under CONFIG_BLK_CGROUP_RWSTAT blk-cgroup: reimplement basic IO stats using cgroup rstat blk-cgroup: remove now unused blkg_print_stat_{bytes|ios}_recursive() blk-throtl: stop using blkg->stat_bytes and ->stat_ios bfq-iosched: stop using blkg->stat_bytes and ->stat_ios bfq-iosched: relocate bfqg_*rwstat*() helpers block: add zone open, close and finish ioctl support block: add zone open, close and finish operations block: Simplify REQ_OP_ZONE_RESET_ALL handling block: Remove REQ_OP_ZONE_RESET plugging ...
Showing the changes to include/trace (1 of 51 files). Show all
Unified · Split
| @@ -33,7 +33,8 @@ TRACE_EVENT(wbt_stat, · 32 unmodified lines | |||
| 33 | ), | 33 | ), |
| 34 | 34 | ||
| 35 | TP_fast_assign( | 35 | TP_fast_assign( |
| 36 | strncpy(__entry->name, dev_name(bdi->dev), 32); | 36 | strlcpy(__entry->name, dev_name(bdi->dev), |
| 37 | ARRAY_SIZE(__entry->name)); | ||
| 37 | __entry->rmean = stat[0].mean; | 38 | __entry->rmean = stat[0].mean; |
| 38 | __entry->rmin = stat[0].min; | 39 | __entry->rmin = stat[0].min; |
| 39 | __entry->rmax = stat[0].max; | 40 | __entry->rmax = stat[0].max; |
| @@ -67,7 +68,8 @@ TRACE_EVENT(wbt_lat, · 27 unmodified lines | |||
| 67 | ), | 68 | ), |
| 68 | 69 | ||
| 69 | TP_fast_assign( | 70 | TP_fast_assign( |
| 70 | strncpy(__entry->name, dev_name(bdi->dev), 32); | 71 | strlcpy(__entry->name, dev_name(bdi->dev), |
| 72 | ARRAY_SIZE(__entry->name)); | ||
| 71 | __entry->lat = div_u64(lat, 1000); | 73 | __entry->lat = div_u64(lat, 1000); |
| 72 | ), | 74 | ), |
| 73 | 75 | ||
| @@ -103,7 +105,8 @@ TRACE_EVENT(wbt_step, · 29 unmodified lines | |||
| 103 | ), | 105 | ), |
| 104 | 106 | ||
| 105 | TP_fast_assign( | 107 | TP_fast_assign( |
| 106 | strncpy(__entry->name, dev_name(bdi->dev), 32); | 108 | strlcpy(__entry->name, dev_name(bdi->dev), |
| 109 | ARRAY_SIZE(__entry->name)); | ||
| 107 | __entry->msg = msg; | 110 | __entry->msg = msg; |
| 108 | __entry->step = step; | 111 | __entry->step = step; |
| 109 | __entry->window = div_u64(window, 1000); | 112 | __entry->window = div_u64(window, 1000); |
| @@ -138,7 +141,8 @@ TRACE_EVENT(wbt_timer, · 28 unmodified lines | |||
| 138 | ), | 141 | ), |
| 139 | 142 | ||
| 140 | TP_fast_assign( | 143 | TP_fast_assign( |
| 141 | strncpy(__entry->name, dev_name(bdi->dev), 32); | 144 | strlcpy(__entry->name, dev_name(bdi->dev), |
| 145 | ARRAY_SIZE(__entry->name)); | ||
| 142 | __entry->status = status; | 146 | __entry->status = status; |
| 143 | __entry->step = step; | 147 | __entry->step = step; |
| 144 | __entry->inflight = inflight; | 148 | __entry->inflight = inflight; |