On Sat, Aug 29, 2020 at 01:44:07PM -0600, Jens Axboe wrote: > On 8/29/20 1:01 PM, Martin Bukatovic wrote: > > On Fri, Aug 28, 2020 at 05:53:34PM -0600, Jens Axboe wrote: > >> Might be easier and saner to just accept EDQUOT by default, instead of > >> adding an option for it? > > > > I proposed a new option to avoid changing behaviour of fill_device > > option. But if that is not necessary, I agree that making fill_device to > > stop on both ENOSPC and EDQUOT makes more sense. > > I don't think that's necessary, the option is really "stop writing when > we're full", and there's no way to reach ENOSPC before EDQUOT vs > the other way around. > > Hence I think it's totally fine to just include EDQUOT in the "stop > successfully" part of the fill_device behavior. Ok, I'm sending new version of the patch "Make fill_device to stop writing on EDQUOT". -- Martin Bukatovič