diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-21 20:27:35 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-21 20:27:35 -0700 |
commit | eb5e248d502bec191bd99f04cae8b49992b3abde (patch) | |
tree | e14d73eda78edad54c1876f5c655840e105ad5fa /ipc | |
parent | 95989c46d2a156365867b1d795fdefce71bce378 (diff) | |
download | linux-eb5e248d502bec191bd99f04cae8b49992b3abde.tar.bz2 |
xfs: don't allow bmap on rt files
bmap returns a dumb LBA address but not the block device that goes with
that LBA. Swapfiles don't care about this and will blindly assume that
the data volume is the correct blockdev, which is totally bogus for
files on the rt subvolume. This results in the swap code doing IOs to
arbitrary locations on the data device(!) if the passed in mapping is a
realtime file, so just turn off bmap for rt files.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions