summaryrefslogtreecommitdiff
path: root/fs/timerfd.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-06-05 09:53:05 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-06-05 09:53:05 -0700
commit117a148ffe0026ddb64d0b7d9b907a1d9bc13e27 (patch)
tree26c771f802f986c63749c3f94d26828b00efe259 /fs/timerfd.c
parent89c2e71123badc1e75316ccd969ee8a5c6fd921a (diff)
iomap: fsync swap files before iterating mappings
Swap files require that all the file mapping metadata be stable on disk. It is insufficient to flush dirty pages in the page cache because that won't necessarily result in filesystems pushing all their metadata out to disk. Therefore, call fsync from iomap_swapfile_activate. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions