On Mon, Jun 19, 2017 at 01:23:14PM -0700, Darrick J. Wong wrote: > 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. Looks fine, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html