@@ -960,6 +960,7 @@ static inline void blk_account_io_done(struct request *req, u64 now)
* normal IO on queueing nor completion. Accounting the
* containing request is enough.
*/
+ printk(KERN_INFO" <<<<< -%s %d\n", __func__, __LINE__);
if (blk_do_io_stat(req) && req->part &&
!(req->rq_flags & RQF_FLUSH_SEQ)) {
const int sgrp = op_stat_group(req_op(req));
@@ -969,11 +970,13 @@ static inline void blk_account_io_done(struct request *req, u64 now)
part_stat_inc(req->part, ios[sgrp]);
part_stat_add(req->part, nsecs[sgrp], now - req->start_time_ns);
part_stat_unlock();
+ printk(KERN_INFO" <<<<< -%s %d\n", __func__, __LINE__);
}
}
static inline void blk_account_io_start(struct request *req)
{
+ printk(KERN_INFO" <>>>>>> -%s %d\n", __func__, __LINE__);
if (blk_do_io_stat(req)) {
/*
* All non-passthrough requests are created from a bio with one
@@ -989,6 +992,7 @@ static inline void blk_account_io_start(struct request *req)
part_stat_lock();
update_io_ticks(req->part, jiffies, false);
part_stat_unlock();
+ printk(KERN_INFO" <>>>>>> -%s %d\n", __func__, __LINE__);
}
}