On 9/17/19 6:54 PM, Chaitanya Kulkarni wrote: > Hi, > > With current debugfs block layer infrastructure, we only get the total > merge count which includes all the requests types, but we don't get > the per request type merge count. > > This patch-series replaces the rq_merged variable into the > rq_merged array so that we can track the per request type merged stats. > > Instead of having one number for all the requests which are merged, > with this now we can get the detailed number of the merged requests > per request type which is mergeable. > > This is helpful in the understanding merging of the requests under > different workloads and for the special requests such as discard which > implements request specific merging mechanism. Regular io stats get merging stats for read/write/trim. Why do we need something else for this? -- Jens Axboe