Re: bpf(4): remove ticks

2020-12-28 Thread David Gwynne
On Mon, Dec 28, 2020 at 06:56:08PM -0600, Scott Cheloha wrote: > On Mon, Dec 28, 2020 at 10:49:59AM +1000, David Gwynne wrote: > > On Sat, Dec 26, 2020 at 04:48:23PM -0600, Scott Cheloha wrote: > > > Now that we've removed bd_rdStart from the bpf_d struct, removing > > > ticks from bpf(4) itself

Re: bpf(4): remove ticks

2020-12-28 Thread Scott Cheloha
On Mon, Dec 28, 2020 at 10:49:59AM +1000, David Gwynne wrote: > On Sat, Dec 26, 2020 at 04:48:23PM -0600, Scott Cheloha wrote: > > Now that we've removed bd_rdStart from the bpf_d struct, removing > > ticks from bpf(4) itself is straightforward. > > > > - bd_rtout becomes a timespec; update

Re: bpf(4): remove ticks

2020-12-27 Thread David Gwynne
On Sat, Dec 26, 2020 at 04:48:23PM -0600, Scott Cheloha wrote: > Now that we've removed bd_rdStart from the bpf_d struct, removing > ticks from bpf(4) itself is straightforward. > > - bd_rtout becomes a timespec; update bpfioctl() accordingly. > Cap it at MAXTSLP nanoseconds to avoid arithmetic