DF-2774 / run.2.log
+ umount /mnt/alias2 + umount /mnt/alias + umount /mnt/lower + rm -rf /mnt/lower /mnt/alias /mnt/alias2 + mkdir -p /mnt/lower /mnt/alias /mnt/alias2 + mount -t tmpfs tmpfs /mnt/lower + chown qa:qa /mnt/lower + su -m qa -c 'dd if=/dev/zero of=/mnt/lower/victim bs=4096 count=1' 1+0 records in 1+0 records out 4096 bytes transferred in 0.000042 secs (97733238 bytes/sec) === sanity: lower usage after creating victim (expect 4096) === + echo '=== sanity: lower usage after creating victim (expect 4096) ===' + vquota show /mnt/lower total: 4096 user qa: 4096 group qa: 4096 + mount_null /mnt/lower /mnt/alias + su -m qa -c 'cat /mnt/alias/victim > /dev/null' === sanity: write 1 block through ALIAS (expect charge on alias) === + echo '=== sanity: write 1 block through ALIAS (expect charge on alias) ===' + su -m qa -c 'dd if=/dev/zero bs=4096 count=1 >> /mnt/alias/victim' 1+0 records in 1+0 records out 4096 bytes transferred in 0.000041 secs (100564694 bytes/sec) + vquota show /mnt/alias total: 0 === unmount alias: nullmp freed, vp->v_pfsmp stale === + echo '=== unmount alias: nullmp freed, vp->v_pfsmp stale ===' + umount /mnt/alias + mount_null /mnt/lower /mnt/alias2 === mount-wide limit 10 on unrelated alias2 === + echo '=== mount-wide limit 10 on unrelated alias2 ===' + vquota limit /mnt/alias2 10 === TEST1: append via LOWER (stale v_pfsmp -> alias2?) expect EDQUOT === + echo '=== TEST1: append via LOWER (stale v_pfsmp -> alias2?) expect EDQUOT ===' + su -m qa -c 'dd if=/dev/zero bs=4096 count=1 >> /mnt/lower/victim' 1+0 records in 1+0 records out 4096 bytes transferred in 0.000048 secs (84540764 bytes/sec) === TEST2: O_TRUNC via lower -> negative usage somewhere === + echo '=== TEST2: O_TRUNC via lower -> negative usage somewhere ===' + su -m qa -c ': > /mnt/lower/victim' === usage(alias2) === + echo '=== usage(alias2) ===' + vquota show /mnt/alias2 total: 0, limit = 10