In reiser4 allocation of disk space is delayed to transaction commit. It
is not possible to estimate precisely amount of disk space that will be
allocated during commit, and hence statfs(2) results are not updated
until one does sync(2) (forcing commit) or transaction is committed due
to age (10 minutes by default).
>
> Compare:
> [reiser3]
> $ pwd
> /tmp
> $ dd if=/dev/zero of=testfile bs=16k count=64
> 64+0 records in
> 64+0 records out
> $ df /
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda1 526296 330696 195600 63% /
> $ rm testfile
> $ df /
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda1 526296 329672 196624 63% /
> $ sync
> $ df /
[...]
Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/