Re: [PATCH] Make fill_device to stop writing on EDQUOT

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

 



(Just a quick ping to Martin on this one because hopefully the changes
requested were doable)


On Sat, 29 Aug 2020 at 22:19, Jens Axboe <axboe@xxxxxxxxx> wrote:
>
> On 8/29/20 2:34 PM, Martin Bukatovic wrote:
> > diff --git a/filesetup.c b/filesetup.c
> > index d382fa24..39a17521 100644
> > --- a/filesetup.c
> > +++ b/filesetup.c
> > @@ -233,6 +233,10 @@ static int extend_file(struct thread_data *td, struct fio_file *f)
> >                                                "file, stopping\n");
> >                                       break;
> >                               }
> > +                             if (__e == EDQUOT) {
> > +                                     if (td->o.fill_device)
> > +                                             break;
> > +                             }
> >                               td_verror(td, errno, "write");
> >                       } else
> >                               td_verror(td, EIO, "write");
>
> This should just extent the previous ENOSPC check, and modify the
> print statement as well.
>
> --
> Jens Axboe
>


--
Sitsofe | http://sucs.org/~sits/



[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