Re: [PATCH] nbd: ignore non-nbd ioctl's

2017-09-20 Thread Jens Axboe
On 09/20/2017 08:38 AM, Josef Bacik wrote: > On Fri, May 05, 2017 at 10:25:18PM -0400, Josef Bacik wrote: >> In testing we noticed that nbd would spew if you ran a fio job against >> the raw device itself. This is because fio calls a block device >> specific ioctl, however the block layer will fir

Re: [PATCH] nbd: ignore non-nbd ioctl's

2017-09-20 Thread Josef Bacik
On Fri, May 05, 2017 at 10:25:18PM -0400, Josef Bacik wrote: > In testing we noticed that nbd would spew if you ran a fio job against > the raw device itself. This is because fio calls a block device > specific ioctl, however the block layer will first pass this back to the > driver ioctl handler

[PATCH] nbd: ignore non-nbd ioctl's

2017-05-05 Thread Josef Bacik
In testing we noticed that nbd would spew if you ran a fio job against the raw device itself. This is because fio calls a block device specific ioctl, however the block layer will first pass this back to the driver ioctl handler in case the driver wants to do something special. Since the device wa