]> www.infradead.org Git - users/sagi/blktests.git/commit
loop: Add test for changing capacity when filesystem is mounted
authorJan Kara <jack@suse.cz>
Mon, 21 Jan 2019 12:02:03 +0000 (13:02 +0100)
committerOmar Sandoval <osandov@fb.com>
Wed, 23 Jan 2019 00:00:27 +0000 (16:00 -0800)
commita58b9745fa4604b6aa9c2694dd25ddb39f46d0d8
tree6a04e044c73da0617d86cbf257700f62091d5622
parenta9c585057fbb0331013e4d41617c58e02a55565b
loop: Add test for changing capacity when filesystem is mounted

Add test for changing capacity of a loop device when a filesystem with
non-default block size is mounted on it. This is a regression test for
"blockdev: Fix livelocks on loop device".

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
[Omar: mount under $TMPDIR]
Signed-off-by: Omar Sandoval <osandov@fb.com>
tests/loop/007 [new file with mode: 0755]
tests/loop/007.out [new file with mode: 0644]