[PATCH] blk-throttle: fix infinite throttling caused by non-cascading timer wheel

2016-09-12 Thread Hou Tao
Due to commit 500462a9de65 ("timers: Switch to a non-cascading wheel"), the slack of timer increases when the timeout increases: So for HZ=250 we end up with the following granularity levels: Level Offset Granularity Range 0 0 4 ms 0 ms -

Re: [PATCH 5/5] nbd: add multi-connection support

2016-09-12 Thread Josef Bacik
On 09/10/2016 03:43 AM, Christoph Hellwig wrote: Hi Josef, I haven't read the full path as I'm a bit in a hurry, but is there a good reason to not simply have a socket per-hw_ctx and store it in the hw_ctx private data instead of using the index in the nbd_cmd structure? No good reason, just