]> git.baikalelectronics.ru Git - kernel.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)
commitf099a1239e8f8dd8f4dd99c3e81c983c15b06d52
tree2659c3a8eaa694c1eeaead8ce266aae51c0672f6
parentb4041e0e4d3ae9816078244f0b7cbeee413df151
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