Re: [Nbd] [PULL] NBD patches for 4.1

2015-04-02 Thread Jens Axboe
are some small simplifications. Applied, thanks. -- Jens Axboe -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub

Re: [Nbd] [PATCH v2 0/7] block: reread partitions changes and fix for loop

2015-04-20 Thread Jens Axboe
. -- Jens Axboe -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http

Re: [Nbd] [PULL 00/10] NBD updates for 4.3

2015-08-17 Thread Jens Axboe
requests and we don't receive anything from the server within the timeout, the connection is killed. The rest of the patches are smaller cleanups and some new debugfs entries about the internal state of NBD. Applied for 4.3, thanks. -- Jens Axboe

Re: [Nbd] [PULL] NBD for 4.6

2016-03-03 Thread Jens Axboe
On 03/03/2016 12:48 AM, Markus Pargmann wrote: > Hi Jens, > > On Sunday, February 21, 2016 03:01:20 PM Markus Pargmann wrote: >> Hi Jens, >> >> This pull request contains 7 patches for 4.6. > > any news on this pull request? Sorry for the delay, p

Re: [Nbd] [PATCH] nbd: convert to blkmq

2016-07-01 Thread Jens Axboe
arted). nbd->active_cmd needs to die as well. -- Jens Axboe -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their visio

Re: [Nbd] [PATCH] nbd: stop leaking sockets

2017-03-01 Thread Jens Axboe
b.com> Applied for this series, thanks Josef. -- Jens Axboe -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _

Re: [Nbd] [PATCH 3/5] nbd: use flags instead of bool

2016-09-09 Thread Jens Axboe
On 09/09/2016 10:15 AM, Joe Perches wrote: > On Fri, 2016-09-09 at 10:11 -0600, Jens Axboe wrote: >> The variable is called 'runtime_flags' - if that doesn't already tell >> the reader how it's used, then I'd suggest the reader go read something >> else. >> >> I

Re: [Nbd] [PATCH 3/5] nbd: use flags instead of bool

2016-09-09 Thread Jens Axboe
On 09/09/2016 10:04 AM, Joe Perches wrote: > On Fri, 2016-09-09 at 07:55 -0600, Jens Axboe wrote: >> On 09/08/2016 07:20 PM, Joe Perches wrote: >>> On Thu, 2016-09-08 at 17:12 -0400, Josef Bacik wrote: >>>> In preparation for some future changes, change a few

Re: [Nbd] [PATCH 0/5] nbd improvements

2016-09-08 Thread Jens Axboe
Thanks, Not only are these nice performance improvements, it also cleans up the code a lot and kills crufty old driver code in favor of using the proper APIs instead. I hav

Re: [Nbd] [RESEND][PATCH 0/5] nbd improvements

2016-09-09 Thread Jens Axboe
do that for CPU hotplug/unplug events, and we also expose that functionality to drivers through blk_mq_update_nr_hw_queues(). So yes, should be trivial to support from nbd. -- Jens Axboe -- _

Re: [Nbd] [PATCH 0/5] nbd improvements

2016-09-09 Thread Jens Axboe
On 09/09/2016 02:08 PM, Wouter Verhelst wrote: > Hi Jens, > > On Thu, Sep 08, 2016 at 02:13:46PM -0600, Jens Axboe wrote: >> Not only are these nice performance improvements, it also cleans up the >> code a lot and kills crufty old driver code in favor of using the proper &g

Re: [Nbd] [PATCH] nbd: fix incorrect unlock of nbd->sock_lock in sock_shutdown

2016-10-24 Thread Jens Axboe
th. Thanks John, applied. -- Jens Axboe -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Nbd-general

Re: [Nbd] [PATCH] nbd: use dev_err_ratelimited in io path

2016-12-08 Thread Jens Axboe
On 12/05/2016 02:20 PM, Josef Bacik wrote: > While doing stress tests we noticed that we'd get a lot of dmesg spam if > we suddenly disconnected teh nbd device out of band. Rate limite the > messages in the io path in order to deal with this. Added, with fixed up spelling. -- J

Re: [Nbd] [PATCH] MAINTAINERS: Update maintainer entry for NBD

2017-01-11 Thread Jens Axboe
thanks Josef. -- Jens Axboe -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax

Re: [Nbd] [PATCH] nbd: use loff_t for blocksize and nbd_set_size args

2016-12-02 Thread Jens Axboe
e to > think about this again. Thanks, Added, thanks Josef. -- Jens Axboe -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sd

Re: [Nbd] [PATCH 0/4] nbd fixes for this cycle

2017-03-24 Thread Jens Axboe
> small, > and the queue timeout patch is a regression from last cycle. Thanks, Added for 4.11. -- Jens Axboe -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sd

Re: [Nbd] [PATCH] nbd: set the max segment size to UINT_MAX

2017-04-17 Thread Jens Axboe
On 04/17/2017 09:55 AM, Jens Axboe wrote: > On 04/17/2017 07:44 AM, Josef Bacik wrote: >> NBD doesn't care about limiting the segment size, let the user push the >> largest bio's they want. This allows us to control the request size >> solely through max_sectors_kb. > >

Re: [Nbd] [PATCH] nbd: set the max segment size to UINT_MAX

2017-04-17 Thread Jens Axboe
On 04/17/2017 07:44 AM, Josef Bacik wrote: > NBD doesn't care about limiting the segment size, let the user push the > largest bio's they want. This allows us to control the request size > solely through max_sectors_kb. Doesn't apply to the 4.12 branch. -- J

Re: [Nbd] [PATCH] nbd: set the max segment size to UINT_MAX

2017-04-17 Thread Jens Axboe
On 04/17/2017 09:57 AM, Jens Axboe wrote: > On 04/17/2017 09:55 AM, Jens Axboe wrote: >> On 04/17/2017 07:44 AM, Josef Bacik wrote: >>> NBD doesn't care about limiting the segment size, let the user push the >>> largest bio's they want. This allows us to control

Re: [Nbd] [PATCH 00/12] nbd: Netlink interface and path failure enhancements

2017-04-17 Thread Jens Axboe
short period of time. > > These patches have been thorougly and continuously tested for about a month. > I've been finding bugs in various places, but this batch has been solid for > the > last few days of testing, which include a constant disconnect/rec

Re: [Nbd] [PATCH] nbd: set the max segment size to UINT_MAX

2017-04-19 Thread Jens Axboe
On 04/18/2017 02:22 PM, Josef Bacik wrote: > NBD doesn't care about limiting the segment size, let the user push the > largest bio's they want. This allows us to control the request size > solely through max_sectors_kb. Thanks Josef, applied for 4.12. -- J

Re: [Nbd] [PATCH] nbd: set the max segments to USHRT_MAX

2017-04-20 Thread Jens Axboe
arge IO's go through NBD. Applied for 4.12, thanks Josef. -- Jens Axboe -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.l

Re: [Nbd] [PATCH] nbd: clear disconnected on reconnect

2017-07-25 Thread Jens Axboe
DISCONNECTED flag on > reconnect in order to make sure everything works as it's supposed to. Will add for 4.13. Any chance that you can write blktests regression tests for some of the bugs that you are fixing for nbd? Would be nice to have that be part of the regul

Re: [Nbd] [PATCH] nbd: fix use after free on module unload

2017-04-28 Thread Jens Axboe
we're trying to unload. That looks better/safer. Applied for 4.12. -- Jens Axboe -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.l

Re: [Nbd] [PATCH] nbd: add FUA op support

2017-05-30 Thread Jens Axboe
On 05/25/2017 09:55 PM, Shaun McDowell wrote: > NBD userland client and server have FUA (forced unit access) support > and flags defined. Make NBD kernel module recognize NBD_FLAG_SEND_FUA, > enable FUA on the queue, and forward FUA requests to the server. Queued up for 4.13, thanks.

Re: [Nbd] [PATCH v2 1/2] nbd: nbd_reset() call in nbd_dev_add() is redundant

2017-05-30 Thread Jens Axboe
On 05/23/2017 09:49 AM, Ilya Dryomov wrote: > There is nothing to clear -- nbd_device has just been allocated. > Fold nbd_reset() into its other caller, nbd_config_put(). Added 1+2 for 4.12. -- Jens Axboe -- Che

Re: [Nbd] [PATCH] nbd: set sk->sk_sndtimeo for our sockets

2017-06-09 Thread Jens Axboe
Fix this by setting the sk send > timeout to our configured timeout, that way if the server really > misbehaves we'll disconnect cleanly instead of waiting forever. Queued up for 4.13, thanks. -- Jens Axboe --