]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxcmd: provide a common function to report command runtimes
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 28 Oct 2015 04:48:22 +0000 (15:48 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 28 Oct 2015 04:48:22 +0000 (15:48 +1100)
commita9b61ce99fba4e5c5e198809dd97ad92c15197aa
treec69246c5a89fdb7912766cea1bbb81270f292621
parent5cfd2d5b5df6164daf03becdef236444c0bfe74a
libxcmd: provide a common function to report command runtimes

Refactor the open-coded runtime stats reporting into a library
command, then update xfs_io commands to use it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/command.h
io/pread.c
io/pwrite.c
io/sendfile.c
libxcmd/command.c