RE: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-07-07 Thread Matias Bjorling
nux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org; linux-bl...@vger.kernel.org; linux- > n...@lists.infradead.org > Subject: Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block > Devices > > On 03.07.2020 09:44, Matias Bjorling wrote: > >> -Original

Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-07-07 Thread Javier González
; linux-s...@vger.kernel.org; linux- ker...@vger.kernel.org; linux-bl...@vger.kernel.org; linux- n...@lists.infradead.org Subject: Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices On 29.06.2020 01:00, Damien Le Moal wrote: >On 2020/06/29 8:01, Matias Bjorling wrote: >>

RE: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-07-03 Thread Matias Bjorling
nux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org; linux-bl...@vger.kernel.org; linux- > n...@lists.infradead.org > Subject: Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block > Devices > > On 29.06.2020 01:00, Damien Le Moal wrote: > >On 2020/06/29

RE: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-06-30 Thread Matias Bjorling
linux-s...@vger.kernel.org; linux-kernel@vger.kernel.org; linux- > bl...@vger.kernel.org; linux-n...@lists.infradead.org > Subject: Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block > Devices > > On 2020-06-28 16:01, Matias Bjørling wrote: > > +

Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-06-29 Thread Javier González
On 29.06.2020 01:00, Damien Le Moal wrote: On 2020/06/29 8:01, Matias Bjorling wrote: The NVMe Zoned Namespace Command Set adds support for associating data to a zone through the Zone Descriptor Extension feature. To allow user-space to associate data to a zone, add support through the BLKSETDE

Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-06-28 Thread Bart Van Assche
On 2020-06-28 16:01, Matias Bjørling wrote: > + /* This may take a while, so be nice to others */ > + cond_resched(); > + > + return submit_bio_wait(&bio); A cond_resched() call before a submit_bio_wait() call? I think it's the first time that I see this. Is that call really necessary?

Re: [PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-06-28 Thread Damien Le Moal
On 2020/06/29 8:01, Matias Bjorling wrote: > The NVMe Zoned Namespace Command Set adds support for associating > data to a zone through the Zone Descriptor Extension feature. > > To allow user-space to associate data to a zone, add support through > the BLKSETDESCZONE ioctl. The ioctl requires tha

[PATCH 2/2] block: add BLKSETDESCZONE ioctl for Zoned Block Devices

2020-06-28 Thread Matias Bjørling
The NVMe Zoned Namespace Command Set adds support for associating data to a zone through the Zone Descriptor Extension feature. To allow user-space to associate data to a zone, add support through the BLKSETDESCZONE ioctl. The ioctl requires that it is issued to a zoned block device, and that it s