Re: Why not abort when posix_fallocate() failed?

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

 



On Tue, Aug 13, 2013 at 10:43 PM, Jens Axboe <axboe@xxxxxxxxx> wrote:
>> I'm recently reading fio source code and running it for test purpose.
>> A case bothered me which is fio keep going after posix_fallocate()
>> failed, I'm wondering why, shouldn't it abort immediately?
>
> Fio treats it as advisory, like fadvise. Back in the day, fallocate
> would often not be available. So it would be hard to treat it as a full
> error.

Thanks. This sounds very reasonable to me.
-- 
- Thanks.
- xan.peng
--
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