commit | 67482129cdabf7cede1301d2415ef4f0156d35cd | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu May 10 08:38:15 2018 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue May 15 17:57:05 2018 -0700 |
tree | 074b330967f8c3f8964cd6152ca0d948b6e727a4 | |
parent | d6b636ebb1c9f412687a7b6ed97c996247cc2380 [diff] |
iomap: add a swapfile activation function Add a new iomap_swapfile_activate function so that filesystems can activate swap files without having to use the obsolete and slow bmap function. This enables XFS to support fallocate'd swap files and swap files on realtime devices. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Jan Kara <jack@suse.cz>