]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm stats: report precise_timestamps and histogram in @stats_list output
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 18 Aug 2015 20:26:16 +0000 (16:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 17:10:59 +0000 (10:10 -0700)
commit8f019cb9644f46b00a2cb489ae53c1413ae68238
tree32e628f5373988326dc5f54a69d5662775ddb79c
parent2d984207a768c1737ba15a4c292a72dd39eb8269
dm stats: report precise_timestamps and histogram in @stats_list output

commit bd49784fd1e8f42c7600fbfa206361324857f373 upstream.

If the user selected the precise_timestamps or histogram options, report
it in the @stats_list message output.

If the user didn't select these options, no extra tokens are reported,
thus it is backward compatible with old software that doesn't know about
precise timestamps and histogram.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org # 4.2
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/device-mapper/statistics.txt
drivers/md/dm-stats.c
include/uapi/linux/dm-ioctl.h