Re: [RFC PATCH manpages] write.2, fsync.2, close.2: update description of error codes

NeilBrown
2017-09-14T22:36:56Z

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

On Thu, Sep 14 2017, walter harms wrote:

> Am 14.09.2017 01:50, schrieb NeilBrown:
>>
>> Since 4.13, errors from writeback are more reliably reported
>> to all file descriptors that might be relevant.
>>
>> Add notes to this effect, and also add details about ENOSPC and EDQUOT
>> which can be delayed in a similar manner to EIO - for NFS in particular.
>>
>
> I never read EDQUOT before but it is real:
>
> see:
> http://elixir.free-electrons.com/linux/latest/source/security/keys/request_key.c
>
> -EDQUOT
> * if insufficient key quota was available to create a new key

EDQUOT existed long before security keys.
It's original purpose is to report Disk QUOTa problems. If you write to
a file and you have exhausted you quota, you get EDQUOT.

http://elixir.free-electrons.com/linux/latest/source/fs/quota/dquot.c#L1318

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]