Re: [PATCH 10/11] rnbd-srv: use bdev_discard_alignment

2022-04-18 Thread Jinpu Wang
On Mon, Apr 18, 2022 at 6:53 AM Christoph Hellwig wrote: > > Use bdev_discard_alignment to calculate the correct discard alignment > offset even for partitions instead of just looking at the queue limit. > > Signed-off-by: Christoph Hellwig Thx! Acked-by: Jack Wang > --- > drivers/block/rnbd/rn

Re: [RFC v1 00/10] roadtest: a driver testing framework

2022-04-18 Thread Jonathan Cameron
On Fri, 11 Mar 2022 17:24:35 +0100 Vincent Whitchurch wrote: > This patchset proposes roadtest, a device-driver testing framework. Drivers > are tested under User Mode Linux (UML) and interact with mocked/modelled > hardware. The tests and hardware models are written in Python, the former > usi

Re: use block_device based APIs in block layer consumers v3

2022-04-18 Thread Jens Axboe
On Fri, 15 Apr 2022 06:52:31 +0200, Christoph Hellwig wrote: > this series cleanups up the block layer API so that APIs consumed > by file systems are (almost) only struct block_devic based, so that > file systems don't have to poke into block layer internals like the > request_queue. > > I also f

Re: [PATCH v9 31/32] virtio_net: support rx/tx queue resize

2022-04-18 Thread Xuan Zhuo
On Mon, 18 Apr 2022 15:49:29 +0800, Jason Wang wrote: > On Mon, Apr 18, 2022 at 11:24 AM Xuan Zhuo wrote: > > > > On Wed, 13 Apr 2022 16:00:18 +0800, Jason Wang wrote: > > > > > > 在 2022/4/6 上午11:43, Xuan Zhuo 写道: > > > > This patch implements the resize function of the rx, tx queues. > > > > Ba

Re: [PATCH v9 31/32] virtio_net: support rx/tx queue resize

2022-04-18 Thread Jason Wang
在 2022/4/15 17:17, Xuan Zhuo 写道: On Fri, 15 Apr 2022 13:53:54 +0800, Jason Wang wrote: On Fri, Apr 15, 2022 at 10:23 AM Xuan Zhuo wrote: On Thu, 14 Apr 2022 17:30:02 +0800, Jason Wang wrote: On Wed, Apr 13, 2022 at 4:47 PM Xuan Zhuo wrote: On Wed, 13 Apr 2022 16:00:18 +0800, Jason Wang

Re: [PATCH v9 31/32] virtio_net: support rx/tx queue resize

2022-04-18 Thread Jason Wang
On Mon, Apr 18, 2022 at 11:24 AM Xuan Zhuo wrote: > > On Wed, 13 Apr 2022 16:00:18 +0800, Jason Wang wrote: > > > > 在 2022/4/6 上午11:43, Xuan Zhuo 写道: > > > This patch implements the resize function of the rx, tx queues. > > > Based on this function, it is possible to modify the ring num of the >

Re: [PATCH v4 04/11] mips: use fallback for random_get_entropy() instead of zero

2022-04-18 Thread Thomas Bogendoerfer
On Fri, Apr 15, 2022 at 01:26:48PM +0100, Maciej W. Rozycki wrote: > Hi Jason, > > > > It depends on the exact system. Some have a 32-bit high-resolution > > > counter in the chipset (arch/mips/kernel/csrc-ioasic.c) giving like 25MHz > > > resolution, some have nothing but jiffies. > > > > Al