generic: add swapfile maxpages regression test
authorDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 01:43:26 +0000 (18:43 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 22 Aug 2021 10:31:47 +0000 (18:31 +0800)
commit88ed9a8131c336f7f471f40fab8930953676b59e
treec1ebf255ef6e4ceaab67f4e6e1190c3b2f2cfa36
parent1538aef8361ffa29b7df1a19bcd8fb86f9991030
generic: add swapfile maxpages regression test

Add regression test for "mm/swap: consider max pages in
iomap_swapfile_add_extent".

Cc: Gang Deng <gavin.dg@linux.alibaba.com>
Cc: Xu Yu <xuyu@linux.alibaba.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/643 [new file with mode: 0755]
tests/generic/643.out [new file with mode: 0644]