summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.h
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2017-04-27 08:59:36 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-04-27 10:45:34 -0700
commit3c3781951c9a155a56e5eed567349118374cc315 (patch)
tree1fdb696b5a0dc6af0882245eeb1c1f61945b40d4 /fs/xfs/xfs_log.h
parentc4cf1acdb186436b88cc9aeaf08322bc49fec183 (diff)
xfs: Allow user to kill fstrim process
fstrim can take really long time on big, slow device or on file system with a lots of allocation groups. Currently there is no way for the user to cancell the operation. This patch makes it possible for the user to kill fstrim pocess by adding the check for fatal_signal_pending() in xfs_trim_extents(). Signed-off-by: Lukas Czerner <lczerner@redhat.com> Reported-by: Zdenek Kabelac <zkabelac@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log.h')
0 files changed, 0 insertions, 0 deletions