Re: [PATCH] gracefully handle full /tmp file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/06/10 17.24, Greg Edwards wrote:
> If /tmp happens to be full, fio gives you a very unhelpful error:
> 
> # ./fio rand-write-256k-q256.job
> Bus error
> 
> Use posix_fallocate() to gracefully handle this condition.
> 
> Signed-off-by: Greg Edwards <greg.edwards@xxxxxx>

Thanks, that looks sane. As far as I remember, if the fs
doesn't do fallocate, then glibc will zero fill it. If
that is the case, then it should be safe.

I will apply it.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux