]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: rename xfs_wait_buftarg() to xfs_buftarg_drain()
authorBrian Foster <bfoster@redhat.com>
Sat, 23 Jan 2021 00:48:19 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:54:50 +0000 (16:54 -0800)
commitfd25c4df8c01b04d71a69b9e1a2cda666f375dba
treef1c6568a22fe94bd52dbdf4d11f8af06a90acc9a
parentedfbd82cdcf94b176a0c9811db302ec6a967c222
xfs: rename xfs_wait_buftarg() to xfs_buftarg_drain()

xfs_wait_buftarg() is vaguely named and somewhat overloaded. Its
primary purpose is to reclaim all buffers from the provided buffer
target LRU. In preparation to refactor xfs_wait_buftarg() into
serialization and LRU draining components, rename the function and
associated helpers to something more descriptive. This patch has no
functional changes with the minor exception of renaming a
tracepoint.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_log.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_trace.h