]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/bitmap: add blktrace event for writes to the bitmap
authorNeilBrown <neilb@suse.com>
Mon, 14 Nov 2016 05:30:21 +0000 (16:30 +1100)
committerShaohua Li <shli@fb.com>
Fri, 18 Nov 2016 17:34:45 +0000 (09:34 -0800)
commit581dbd94da80c845b28666716e30c22c0834756a
tree2659c3a8eaa694c1eeaead8ce266aae51c0672f6
parent109e37653033a5fcd3bf8cab0ed6a7ff433f758a
md/bitmap: add blktrace event for writes to the bitmap

We trace wheneven bitmap_unplug() finds that it needs to write
to the bitmap, or when bitmap_daemon_work() find there is work
to do.

This makes it easier to correlate bitmap updates with data writes.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/bitmap.c