[PATCH] [char] random: fix priming of last_data

2013-03-19 Thread Jarod Wilson
happy. Tested-by: Jan Stancek Tested-by: Jan Stodola CC: Herbert Xu CC: Neil Horman CC: "David S. Miller" CC: Matt Mackall CC: "Theodore Ts'o" CC: linux-cry...@vger.kernel.org CC: sta...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/char/random.c | 30

Re: [PATCH] [char] random: fix priming of last_data

2013-03-19 Thread Jarod Wilson
On Tue, Mar 19, 2013 at 12:18:09PM -0400, Jarod Wilson wrote: > Commit ec8f02da9e added priming of last_data per fips requirements. > Unfortuantely, it did so in a way that can lead to multiple threads all > incrementing nbytes, but only one actually doing anything with the extra >

Re: [PATCH 3/9] ieee1394: sbp2: add INQUIRY delay workaround

2008-02-11 Thread Jarod Wilson
Stefan Richter wrote: Add the same workaround as found in fw-sbp2 for feature parity and compatibility of the workarounds module parameter. Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> Same deal as 2/9. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMA

Re: [PATCH 2/9] firewire: fw-sbp2: add INQUIRY delay workaround

2008-02-11 Thread Jarod Wilson
at may well benefit from this (once added to the workarounds table, of course). Interesting that this is an encore appearance for a DViCO Momobay device... Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line &

Re: [PATCH 1/9] firewire: log GUID of new devices

2008-02-11 Thread Jarod Wilson
is one, makes it much easier to figure out what's what without having to poke around in config roms. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 9/9] firewire: fw-sbp2: fix I/O errors during reconnect

2008-02-11 Thread Jarod Wilson
Stefan Richter wrote: Jarod Wilson wrote: Stefan Richter wrote: +static void sbp2_conditionally_block(struct sbp2_logical_unit *lu) +{ +struct fw_card *card = fw_device(lu->tgt->unit->device.parent)->card; + +if (!atomic_read(&lu->tgt->dont_block) && +

Re: [PATCH 6/9] firewire: fw-sbp2: don't add scsi_device twice

2008-02-11 Thread Jarod Wilson
hit that or not. In either case, not calling it when we know we don't need to makes sense. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

[PATCH] random: prime last_data value per fips requirements

2012-11-05 Thread Jarod Wilson
checks aren't being run against stale and possibly known data. CC: Herbert Xu CC: "David S. Miller" CC: Neil Horman CC: Matt Mackall CC: linux-cry...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/char/random.c | 11 +++ 1 files changed, 11 insertions(+), 0 del

Re: [PATCH] random: prime last_data value per fips requirements

2012-11-06 Thread Jarod Wilson
On Tue, Nov 06, 2012 at 07:05:23AM -0500, Neil Horman wrote: > On Mon, Nov 05, 2012 at 04:00:10PM -0500, Jarod Wilson wrote: > > The value stored in last_data must be primed for FIPS 140-2 purposes. Upon > > first use, either on system startup or after an RNDCLEARPOOL ioctl, we >

[PATCH v2] random: prime last_data value per fips requirements

2012-11-06 Thread Jarod Wilson
CC: linux-cry...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/char/random.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index b86eae9..6bdd57f 100644 --- a/drivers/char/random.c +++ b/drivers/char/ran

[PATCH v3] random: prime last_data value per fips requirements

2012-11-06 Thread Jarod Wilson
extra lock/unlock calls. CC: Herbert Xu CC: "David S. Miller" CC: Neil Horman CC: Matt Mackall CC: linux-cry...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/char/random.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/char/ran

Re: [PATCH 0/9] firewire-sbp2: misc hotplug related patches

2008-02-05 Thread Jarod Wilson
e're subsequently just reconnecting to that failed setup... So the reconnect code may be doing the right thing, and the real problem I'm looking at is us screwing up the setup of the device in the first place, for some reason... -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from th

Re: [PATCH 11/9] firewire: fw-sbp2: enforce a retry of __scsi_add_device if bus generation changed

2008-02-08 Thread Jarod Wilson
od, does this work like I assume and fixes your setup of two OXFW911 > based disks? Well, it results in the dmesg spew saying "sd 6:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK" -- i.e., DID_NO_CONNECT instead of DID_BUS_BUSY, but other than that,

Re: [PATCH 11/9 update] firewire: fw-sbp2: enforce a retry of __scsi_add_device if bus generation changed

2008-02-10 Thread Jarod Wilson
#x27;, followed by a new login and SCSI probe, both of which are successful this time, disk is available for use and all that good stuff. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH 9/9] firewire: fw-sbp2: fix I/O errors during reconnect

2008-02-11 Thread Jarod Wilson
isk being unplugged briefly, then plugged back in, is it? (I recall that being discussed, but I think it was as a 'would be nice to do in the future' thing). -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH 7/9] firewire: fw-sbp2: logout and login after failed reconnect

2008-02-11 Thread Jarod Wilson
ances. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-i

Re: [PATCH 5/9] firewire: fw-sbp2: log bus_id at management request failures

2008-02-11 Thread Jarod Wilson
Stefan Richter wrote: for easier readable logs if more than one SBP-2 device is present. Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> Agree this makes for easier to follow logs, esp. with lots of devices (not just spb2). Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> --

Re: [PATCH] MAINTAINERS: Remove Jarod Wilson and orphan LIRC drivers

2013-02-15 Thread Jarod Wilson
upstream work to nearly nil. I hope to get back into it once things settle down, which should be happening relativley soon... -- Jarod Wilson ja...@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

Re: [PATCH 1/4] firewire: fw-sbp2: use device generation, not card generation

2008-01-24 Thread Jarod Wilson
ed-off-by: Stefan Richter <[EMAIL PROTECTED]> Verified in concert with parts 2 and 3 as well as with 2, 3 and 4, to fix 'giving up on config rom' issues on multiple system and drive combinations that were previously affected. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]>

Re: [PATCH 2/4] firewire: fw-cdev: use device generation, not card generation

2008-01-24 Thread Jarod Wilson
t;[EMAIL PROTECTED]> Verified in concert with parts 1 and 3 as well as with 1, 3 and 4, to fix 'giving up on config rom' issues on multiple system and drive combinations that were previously affected. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECT

Re: [PATCH 3/4] firewire: enforce access order between generation and node ID

2008-01-24 Thread Jarod Wilson
le system and drive combinations that were previously affected. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo in

Re: [PATCH 4/4] firewire: fw-core: react on bus resets while the config ROM is being fetched

2008-01-24 Thread Jarod Wilson
gt; ... > will take care that generation is read before node_id, won't it? > > Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> Based on a quick read through the code path, coupled with empirical evidence, yes, it appears safe to remove the barrier in read_

Re: [PATCH 4/4] firewire: fw-core: react on bus resets while the config ROM is being fetched

2008-01-24 Thread Jarod Wilson
Jarod Wilson wrote: > Stefan Richter wrote: >> read_rom() obtained a fresh new fw_device.generation for each read >> transaction. Hence it was able to continue reading in the middle of the >> ROM even if a bus reset happened. However the device may have modified >> th

Re: [PATCH 4/4 update] firewire: fw-core: react on bus resets while the config ROM is being fetched

2008-01-25 Thread Jarod Wilson
beating on locally, and I've yet to hit another config rom read failure with it. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PRO

Re: [PATCH] firewire: fw-sbp2: don't retry login or reconnect after unplug

2008-01-28 Thread Jarod Wilson
hit this one a few times myself. Even if we do end up still having the workqueue sleep time, nuking all the unnecessary spew and saving a few cycles is definitely worth it. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list:

Re: [PATCH update] firewire: fix "kobject_add failed for fw* with -EEXIST"

2008-01-28 Thread Jarod Wilson
nough, and I'll give these a spin shortly and see if I can reproduce the situation I was hitting with my raid array... -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More ma

Re: [PATCH update] firewire: fix "kobject_add failed for fw* with -EEXIST"

2008-01-28 Thread Jarod Wilson
On Monday 28 January 2008 01:54:14 pm Stefan Richter wrote: > Jarod Wilson wrote: > > We may have another issue there though, as when this happened to me, the > > md layer apparently never noticed (after ~6 hours) that one of the array > > members had disappeared -- not sure

Re: [PATCH update] firewire: fix "kobject_add failed for fw* with -EEXIST"

2008-01-28 Thread Jarod Wilson
blem of devices racing the grab the same fw* device node, and it seems obvious that should indeed be the case from the code changes. Signed-off-by: Jarod Wilson <[EMAIL PROTECTED]> -- Jarod Wilson [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH] firewire: fail open() quickly if the node doesn't exist anymore

2008-01-28 Thread Jarod Wilson
; it would succeed but be unable to do any IO on it of course. With this > patch, process B's open() will fail immediately with -ENODEV. > > Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> Makes perfect sense to me, no problems with it in cursory testing. Signed-off-by: J

[PATCH net] e1000e: fix PTP on e1000_pch_lpt variants

2016-07-19 Thread Jarod Wilson
rther and we'd already have to wrap the conditionals. CC: Jeff Kirsher CC: intel-wired-...@lists.osuosl.org CC: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/ethernet/intel/e1000e/netdev.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/d

Re: [Intel-wired-lan] [PATCH net] e1000e: fix PTP on e1000_pch_lpt variants

2016-07-20 Thread Jarod Wilson
On Tue, Jul 19, 2016 at 08:49:03PM +, Rustad, Mark D wrote: > Jarod Wilson wrote: > > >I've got reports that the Intel I-218V NIC in Intel NUC5i5RYH systems used > >as a PTP slave experiences random ~10 hour clock jumps, which are resolved > >if the same workarou

[PATCH net-next 1/2] e1000e: factor out systim sanitization

2016-07-23 Thread Jarod Wilson
...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/ethernet/intel/e1000e/netdev.c | 71 ++ 1 file changed, 44 insertions(+), 27 deletions(-) diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c index 41f32c0

[PATCH net-next 2/2] e1000e: fix PTP on e1000_pch_lpt variants

2016-07-23 Thread Jarod Wilson
rg CC: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/ethernet/intel/e1000e/netdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c index 955b294..206bd6a 100644 --- a/drivers/net/eth

[PATCH v2 net-next 0/2] e1000e: fix PTP on e1000_pch_variants

2016-07-23 Thread Jarod Wilson
This little series factors out the systim sanitization code first, then adds e1000_pch_lpt as a new case in the switch that calls the sanitize function, fixing PTP clock issues I've had reported against an Intel I-218V NIC in an Intel NUC5ik5RYH system. Jarod Wilson (2): e1000e: facto

Re: [Intel-wired-lan] [PATCH net-next v3 1/2] e1000e: factor out systim sanitization

2016-07-27 Thread Jarod Wilson
even set it to 0) and > see what happens? Unfortunately, I don't have direct access to the affected hardware myself, so I'd have to prep a test build, hand it off to someone and play relay. I could do that, but it'd have some lag and possible multiple round-trips... Anyone inside Intel have hardware handy to test on? :p -- Jarod Wilson ja...@redhat.com

Re: [PATCH net-next 2/2] net: deprecate eth_change_mtu, remove usage

2016-09-14 Thread Jarod Wilson
On Wed, Sep 14, 2016 at 05:59:14AM +0800, kbuild test robot wrote: > Hi Jarod, > > [auto build test ERROR on net-next/master] > > url: > https://github.com/0day-ci/linux/commits/Jarod-Wilson/net-centralize-net_device-min-max-MTU-checking/20160913-042130 > config

[PATCH v4] net/bonding: send arp in interval if no active slave

2015-10-06 Thread Jarod Wilson
al timeslice in bond_ab_arp_probe(), has shown to produce 100% reliability in testing with this hardware combination. [jarod: manufacturing of changelog, addition of modparam gating] CC: Jay Vosburgh CC: Andy Gospodarek CC: Veaceslav Falico CC: net...@vger.kernel.org Signed-off-by: Uwe Koziolek Signed-off-b

Re: [PATCH v4] net/bonding: send arp in interval if no active slave

2015-10-06 Thread Jarod Wilson
Jarod Wilson wrote: From: Uwe Koziolek With some very finicky switch hardware, active backup bonding can get into a situation where we play ping-pong between interfaces, trying to get one to come up as the active slave. There seems to be an issue with the switch's arp replies either takin

Re: [Intel-wired-lan] [PATCH] igb: add more checks for disconnected adapter

2015-10-06 Thread Jarod Wilson
Alexander Duyck wrote: On 09/21/2015 09:14 PM, Jarod Wilson wrote: Alexander Duyck wrote: On 09/21/2015 10:11 AM, Jarod Wilson wrote: Some pci changes upcoming in 4.3 seem to cause additional disconnects, which can happen at unfortuitous times for igb, leading to issues such as this, where

[PATCH] igb: improve handling of disconnected adapters

2015-10-06 Thread Jarod Wilson
intel-wired-...@lists.osuosl.org CC: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/ethernet/intel/igb/e1000_regs.h | 7 +++ drivers/net/ethernet/intel/igb/igb_main.c | 14 +++--- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/net/ethern

[PATCH v3] igb: improve handling of disconnected adapters

2015-10-07 Thread Jarod Wilson
DDRCONF(NETDEV_UP): enp21s0: link is not ready The device is still not functional at this point, but I believe that's a pci hotplug issue, not an igb issue. CC: Mark Rustad CC: Jeff Kirsher CC: Alexander Duyck CC: intel-wired-...@lists.osuosl.org CC: net...@vger.kernel.org Signed-off-by: Jarod

Re: [PATCH v4] net/bonding: send arp in interval if no active slave

2015-10-07 Thread Jarod Wilson
Nikolay Aleksandrov wrote: On 10/06/2015 09:53 PM, Jarod Wilson wrote: From: Uwe Koziolek With some very finicky switch hardware, active backup bonding can get into a situation where we play ping-pong between interfaces, trying to get one to come up as the active slave. There seems to be an

Re: [PATCH] net/bonding: send arp in interval if no active slave

2015-08-31 Thread Jarod Wilson
On 2015-08-17 4:51 PM, Uwe Koziolek wrote: On Mon, Aug 17, 2015 at 09:14PM +0200, Jay Vosburgh wrote: Uwe Koziolek wrote: On2015-08-17 07:12 PM,Jarod Wilson wrote: ... Uwe, can you perhaps further enlighten us as to what num_grat_arp settings were tried that didn't help? I'm st

Re: [PATCH v4] net/bonding: send arp in interval if no active slave

2015-10-12 Thread Jarod Wilson
Jay Vosburgh wrote: Jarod Wilson wrote: Jarod Wilson wrote: ... As Andy already stated I'm not a fan of such workarounds either but it's necessary sometimes so if this is going to be actually considered then a few things need to be fixed. Please make this a proper bonding option wh

[PATCH v2] igb: improve handling of disconnected adapters

2015-10-19 Thread Jarod Wilson
Duyck CC: intel-wired-...@lists.osuosl.org CC: net...@vger.kernel.org Acked-by: Alexander Duyck Signed-off-by: Jarod Wilson --- Note: this patch is rebased on Jeff's next-queue/dev-queue branch, which already had an earlier revision of this applied, so I've essentially reverted a2675ab

[RFC PATCH net-next] net/core: initial support for stacked dev feature toggles

2015-10-23 Thread Jarod Wilson
Vosburgh CC: Veaceslav Falico CC: Andy Gospodarek CC: Jiri Pirko CC: Nikolay Aleksandrov CC: Michal Kubecek CC: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- net/core/dev.c | 57 + 1 file changed, 57 insertions(+) diff --git

[PATCH] crypto/testmgr: mark rfc4106(gcm(aes)) as fips_allowed

2015-01-23 Thread Jarod Wilson
This gcm variant is popular for ipsec use, and there are folks who would like to use it while in fips mode. Mark it with fips_allowed=1 to facilitate that. CC: LKML CC: Stephan Mueller Signed-off-by: Jarod Wilson --- crypto/testmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto

Re: [PATCH 1/6] block: export blkdev_reread_part()

2015-04-06 Thread Jarod Wilson
at would be calling the _nolock variant of whichever route, as it handles bd_mutex acquisition within __blkdev_get(). As an aside, there's a piece of that function that could be worth duplicating over into loop.c as well: if (bdev->bd_invalidated) { if (!ret)

Re: [PATCH 5/6] block: dasd_genhd: convert to blkdev_reread_part

2015-04-06 Thread Jarod Wilson
"scan partitions error, retry %d rc %d", Note: patch 6/6 in the series makes this whole while() loops pointless, since the possibility of the -EBUSY return goes away. -- Jarod Wilson ja...@redhat.com -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [PATCH 1/6] block: export blkdev_reread_part()

2015-04-06 Thread Jarod Wilson
On Mon, Apr 06, 2015 at 09:42:27AM -0400, Jarod Wilson wrote: > On Mon, Apr 06, 2015 at 12:40:12AM +0800, Ming Lei wrote: > > On Mon, Apr 6, 2015 at 12:12 AM, Christoph Hellwig > > wrote: > > >> +/* > > >> + * This is exported as API for block driver,

Re: [PATCH 5/6] block: dasd_genhd: convert to blkdev_reread_part

2015-04-06 Thread Jarod Wilson
On Mon, Apr 06, 2015 at 09:46:55AM -0400, Jarod Wilson wrote: > On Sun, Apr 05, 2015 at 03:24:47PM +0800, Ming Lei wrote: > > Also remove the obsolete comment. > > > > Signed-off-by: Ming Lei > > --- > > drivers/s390/block/dasd_genhd.c |9 +++-- > &

[PATCH] block/loop: improve reliability of partition scanning

2015-03-31 Thread Jarod Wilson
raith CC: Kent Overstreet CC: Mikulas Patocka Signed-off-by: Jarod Wilson --- drivers/block/loop.c | 48 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index d1f168b..b30e32c 100644 --

Re: [PATCH] block/loop: improve reliability of partition scanning

2015-04-01 Thread Jarod Wilson
nt issue for a number of folks. I'll take my patch, David's patch, Ming's patch and your comments all back to the drawing board for a bit and see what I can come up with... Thanks much, -- Jarod Wilson ja...@redhat.com -- To unsubscribe from this list: send the line "unsubscr

[PATCH 0/7] block: reread partitions improvements

2015-04-07 Thread Jarod Wilson
s ago, based on Christoph's feedback. I've tested this out quite succesfully in the scenario that prompted my first patch as well. [1], https://lkml.org/lkml/2015/1/26/137 [2], https://lkml.org/lkml/2015/3/31/888 Jarod Wilson (3): block: export blkdev_reread_part() and __blkdev_reread

[PATCH 1/7] block: export blkdev_reread_part() and __blkdev_reread_part()

2015-04-07 Thread Jarod Wilson
CC: Peter Zijlstra CC: nbd-gene...@lists.sourceforge.net CC: linux-s...@vger.kernel.org Signed-off-by: Jarod Wilson --- block/ioctl.c | 26 +++--- include/linux/fs.h | 3 +++ 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/block/ioctl.c b/block/ioctl.c

[PATCH 7/7] s390/block/dasd: remove obsolete while -EBUSY loop

2015-04-07 Thread Jarod Wilson
abian Frederick CC: Ming Lei CC: David Herrmann CC: Mike Galbraith CC: Andrew Morton CC: Peter Zijlstra CC: nbd-gene...@lists.sourceforge.net CC: linux-s...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/s390/block/dasd_genhd.c | 13 +++-- 1 file changed, 3 insertions(+

[PATCH 2/7] block: loop: don't hold lo_ctl_mutex in lo_open

2015-04-07 Thread Jarod Wilson
ter Zijlstra CC: nbd-gene...@lists.sourceforge.net CC: linux-s...@vger.kernel.org Signed-off-by: Ming Lei Signed-off-by: Jarod Wilson --- drivers/block/loop.c | 32 ++-- drivers/block/loop.h | 1 + 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/drivers/block/loop.c b/

[PATCH 5/7] block: dasd_genhd: convert to blkdev_reread_part

2015-04-07 Thread Jarod Wilson
Morton CC: Peter Zijlstra CC: nbd-gene...@lists.sourceforge.net CC: linux-s...@vger.kernel.org Signed-off-by: Ming Lei Signed-off-by: Jarod Wilson --- drivers/s390/block/dasd_genhd.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/s390/block/dasd_genhd.c b

[PATCH 6/7] block: replace trylock with mutex_lock in blkdev_reread_part()

2015-04-07 Thread Jarod Wilson
rge.net CC: linux-s...@vger.kernel.org Signed-off-by: Ming Lei Signed-off-by: Jarod Wilson --- block/ioctl.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/block/ioctl.c b/block/ioctl.c index 64a4fcb..47c8e6d 100644 --- a/block/ioctl.c +++ b/bloc

[PATCH 3/7] block: loop: fix another reread part failure

2015-04-07 Thread Jarod Wilson
ff-by: Jarod Wilson --- drivers/block/loop.c | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 81a6bc1..ab5c678 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -528,6 +528,26 @@ stati

[PATCH 4/7] block: nbd: convert to blkdev_reread_part()

2015-04-07 Thread Jarod Wilson
-gene...@lists.sourceforge.net CC: linux-s...@vger.kernel.org Signed-off-by: Ming Lei Signed-off-by: Jarod Wilson --- drivers/block/nbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index a98c41f..7e9d26e 100644 --- a/drivers/block

Re: [PATCH 2/7] block: loop: don't hold lo_ctl_mutex in lo_open

2015-04-08 Thread Jarod Wilson
On Wed, Apr 08, 2015 at 02:50:59PM +0800, Ming Lei wrote: > Hi Jarod, > > On Wed, Apr 8, 2015 at 2:23 PM, Jarod Wilson wrote: > > From: Ming Lei > > > > The lo_ctl_mutex is held for running all ioctl handlers, and > > in some ioctl handlers, ioctl_by_bdev(BLKRR

Re: [PATCH 2/7] block: loop: don't hold lo_ctl_mutex in lo_open

2015-04-08 Thread Jarod Wilson
On Wed, Apr 08, 2015 at 09:40:34AM -0400, Jarod Wilson wrote: > On Wed, Apr 08, 2015 at 02:50:59PM +0800, Ming Lei wrote: > > Hi Jarod, > > > > On Wed, Apr 8, 2015 at 2:23 PM, Jarod Wilson wrote: > > > From: Ming Lei > > > > > > The lo_ctl_m

Re: [PATCH 1/7] block: export blkdev_reread_part() and __blkdev_reread_part()

2015-04-08 Thread Jarod Wilson
(!mutex_trylock(&bdev->bd_mutex)) > > > return -EBUSY; > > Is that really needed? It seems rather poor form. It goes away later in the series and gets converted to a straight mutex_lock(). -- Jarod Wilson ja...@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 2/7] block: loop: don't hold lo_ctl_mutex in lo_open

2015-04-08 Thread Jarod Wilson
On Wed, Apr 08, 2015 at 10:20:22PM +0800, Ming Lei wrote: > On Wed, Apr 8, 2015 at 10:00 PM, Jarod Wilson wrote: > > On Wed, Apr 08, 2015 at 09:40:34AM -0400, Jarod Wilson wrote: > >> On Wed, Apr 08, 2015 at 02:50:59PM +0800, Ming Lei wrote: > >> > Hi Jarod, > >

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

2015-04-08 Thread Jarod Wilson
were nearly identical to this, and testing for my particular use case still looks good. For the set: Tested-by: Jarod Wilson Acked-by: Jarod Wilson Thanks much! -- Jarod Wilson ja...@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH v1 7/7] s390/block/dasd: remove obsolete while -EBUSY loop

2015-04-08 Thread Jarod Wilson
On Wed, Apr 08, 2015 at 07:32:24PM +0200, Sebastian Ott wrote: > On Wed, 8 Apr 2015, Ming Lei wrote: > > From: Jarod Wilson > > > > With the mutex_trylock bit gone from blkdev_reread_part(), the retry logic > > in dasd_scan_partitions() shouldn't be necessary

Re: [PATCH] fs/proc: allow larger /proc//cmdline output

2015-04-13 Thread Jarod Wilson
perately hoping that the patch fairy > will come up with something which is less large and complex :( Shudder-inducing though it may be, I do have to say I'm quite happy with the resulting behavior with Alexey's patch. It's both more memory-efficient and more user-friendly, despite

Re: [PATCH try #3] proc: fix PAGE_SIZE limit of /proc/$PID/cmdline

2015-04-13 Thread Jarod Wilson
On Sat, Apr 11, 2015 at 01:09:06AM +0300, Alexey Dobriyan wrote: > On Fri, Apr 10, 2015 at 02:01:32PM -0400, Jarod Wilson wrote: > > On Fri, Apr 10, 2015 at 05:13:29PM +0300, Alexey Dobriyan wrote: > > > /proc/$PID/cmdline truncates output at PAGE_SIZE. It is easy to see with &g

Re: [PATCH try #4] proc: fix PAGE_SIZE limit of /proc/$PID/cmdline

2015-05-26 Thread Jarod Wilson
On May 26, 2015, at 5:24 PM, Alexey Dobriyan wrote: > >> On Tue, May 26, 2015 at 04:42:36PM -0400, Jarod Wilson wrote: >>> On 5/8/2015 8:28 AM, Alexey Dobriyan wrote: >>> /proc/$PID/cmdline truncates output at PAGE_SIZE. It is easy to see with >>> >>&

Re: [Update][PATCH] PCIe / hotplug: Drop pointless ACPI-based "slot detection" check

2015-06-11 Thread Jarod Wilson
On 5/21/2015 9:21 PM, Rafael J. Wysocki wrote: On Thursday, May 21, 2015 11:11:46 AM Bjorn Helgaas wrote: On Tue, May 19, 2015 at 03:27:58PM +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Jarod Wilson reports that the expresscard hotplug setup doesn't work on HP ZBook G2.

Re: [Update][PATCH] PCIe / hotplug: Drop pointless ACPI-based "slot detection" check

2015-06-11 Thread Jarod Wilson
On 6/11/2015 1:05 PM, Jarod Wilson wrote: On 5/21/2015 9:21 PM, Rafael J. Wysocki wrote: On Thursday, May 21, 2015 11:11:46 AM Bjorn Helgaas wrote: On Tue, May 19, 2015 at 03:27:58PM +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Jarod Wilson reports that the expresscard hotplug

Re: [Update][PATCH] PCIe / hotplug: Drop pointless ACPI-based "slot detection" check

2015-06-11 Thread Jarod Wilson
On 6/11/2015 5:16 PM, Rafael J. Wysocki wrote: On Thursday, June 11, 2015 04:38:12 PM Jarod Wilson wrote: On 6/11/2015 1:05 PM, Jarod Wilson wrote: On 5/21/2015 9:21 PM, Rafael J. Wysocki wrote: On Thursday, May 21, 2015 11:11:46 AM Bjorn Helgaas wrote: On Tue, May 19, 2015 at 03:27:58PM

[PATCH] ethernet/sfc: mark state UNINIT after unregister

2015-06-12 Thread Jarod Wilson
dev() after its unregister_netdevice() call. Now I can load and unload no problem. CC: Solarflare linux maintainers CC: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/ethernet/sfc/efx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/

Re: [PATCH] ethernet/sfc: mark state UNINIT after unregister

2015-06-15 Thread Jarod Wilson
On 6/15/2015 9:49 AM, Edward Cree wrote: On 12/06/15 19:51, Jarod Wilson wrote: Without this change, modprobe -r sfc hits the BUG_ON() in efx_pci_remove_main(). Best as I can tell, this was just an oversight, efx->state gets set to STATE_UNINIT in the error path of efx_register_netdev() j

[PATCH] net/bonding: fix propagation of user-specified bond MAC

2015-06-05 Thread Jarod Wilson
Vosburgh CC: Veaceslav Falico CC: Andy Gospodarek CC: net...@vger.kernel.org (open list:BONDING DRIVER) Signed-off-by: Jarod Wilson --- drivers/net/bonding/bond_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index

[PATCH net] bonding: show saner speed for broadcast mode

2020-08-12 Thread Jarod Wilson
et...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/bonding/bond_main.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 5ad43aaf76e5..c853ca67058c 100644 --- a/drivers/ne

Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2021-01-12 Thread Jarod Wilson
On Thu, Jan 07, 2021 at 07:03:40PM -0500, Jarod Wilson wrote: > On Fri, Dec 18, 2020 at 04:18:59PM -0800, Jay Vosburgh wrote: > > Jarod Wilson wrote: > > > > >This comes from an end-user request, where they're running multiple VMs on > > >hosts with bonded

Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2021-01-12 Thread Jarod Wilson
On Tue, Jan 12, 2021 at 01:39:10PM -0800, Jay Vosburgh wrote: > Jarod Wilson wrote: > > >On Thu, Jan 07, 2021 at 07:03:40PM -0500, Jarod Wilson wrote: > >> On Fri, Dec 18, 2020 at 04:18:59PM -0800, Jay Vosburgh wrote: > >> > Jarod Wilson wrote: > >&

Re: [PATCH net-next v3] bonding: add a vlan+srcmac tx hashing option

2021-01-18 Thread Jarod Wilson
On Mon, Jan 18, 2021 at 04:10:38PM -0700, David Ahern wrote: > On 1/15/21 12:21 PM, Jarod Wilson wrote: > > diff --git a/Documentation/networking/bonding.rst > > b/Documentation/networking/bonding.rst > > index adc314639085..36562dcd3e1e 100644 > > --- a/Documenta

[PATCH net-next v4] bonding: add a vlan+srcmac tx hashing option

2021-01-18 Thread Jarod Wilson
atch for iproute2 is also posted, to properly support the new mode there as well. Cc: Jay Vosburgh Cc: Veaceslav Falico Cc: Andy Gospodarek Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Thomas Davis Cc: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- v2: verified netlink inte

Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2021-01-07 Thread Jarod Wilson
nsider using team driver instead ? :) That's actually one of the things that was suggested, since team I believe already has support for this, but the user really wants to use bonding. We're finding that a lot of users really still prefer bonding over team. -- Jarod Wilson ja...@redhat.com

Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2021-01-07 Thread Jarod Wilson
On Fri, Dec 18, 2020 at 04:18:59PM -0800, Jay Vosburgh wrote: > Jarod Wilson wrote: > > >This comes from an end-user request, where they're running multiple VMs on > >hosts with bonded interfaces connected to some interest switch topologies, > >where 802.3ad isn&#

Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2021-01-08 Thread Jarod Wilson
b w/o team's userspace footprint". I think this one is kind of hard for team to do anything about, bonding really does have a smaller userspace footprint, which is a plus for embedded type applications and high-security environments looking to keep things as minimal as possible. I think I've heard a few "we tried team years ago and it didn't work" as well, which of course is ridiculous as a reason not to try something again, since a lot can change in a few years in this world. -- Jarod Wilson ja...@redhat.com

[PATCH net-next v2] bonding: add a vlan+mac tx hashing option

2021-01-13 Thread Jarod Wilson
lav Falico Cc: Andy Gospodarek Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Thomas Davis Cc: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- v2: verified netlink interfaces working, added Documentation, changed tx hash mode name to vlan+mac for consistency and clarity. Docume

Re: [PATCH net-next v2] bonding: add a vlan+mac tx hashing option

2021-01-14 Thread Jarod Wilson
On Wed, Jan 13, 2021 at 05:58:18PM -0800, Jakub Kicinski wrote: > On Wed, 13 Jan 2021 17:35:48 -0500 Jarod Wilson wrote: > > This comes from an end-user request, where they're running multiple VMs on > > hosts with bonded interfaces connected to some interest switch topologie

Re: [PATCH net-next v2] bonding: add a vlan+mac tx hashing option

2021-01-14 Thread Jarod Wilson
On Thu, Jan 14, 2021 at 01:23:14PM -0800, Jakub Kicinski wrote: > On Thu, 14 Jan 2021 16:11:41 -0500 Jarod Wilson wrote: > > In truth, this code started out as a copy of bond_eth_hash(), which also > > only uses the last byte, though of both source and destination macs. In > >

Re: [PATCH net] wireless/nl80211: fix wdev_id may be used uninitialized

2021-03-15 Thread Jarod Wilson
On Fri, Mar 12, 2021 at 4:04 PM Kalle Valo wrote: > > Jarod Wilson writes: > > > Build currently fails with -Werror=maybe-uninitialized set: > > > > net/wireless/nl80211.c: In function '__cfg80211_wdev_from_attrs': > > net/wireless/nl80211.c:124:44: err

Re: [PATCH net] bonding: reduce rtnl lock contention in mii monitor thread

2020-12-09 Thread Jarod Wilson
On Tue, Dec 8, 2020 at 2:38 PM Jakub Kicinski wrote: > > On Sat, 5 Dec 2020 18:43:54 -0500 Jarod Wilson wrote: > > I'm seeing a system get stuck unable to bring a downed interface back up > > when it's got an updelay value set, behavior which ceased when loggi

Re: [PATCH net] bonding: reduce rtnl lock contention in mii monitor thread

2020-12-09 Thread Jarod Wilson
On Tue, Dec 8, 2020 at 3:35 PM Jay Vosburgh wrote: > > Jarod Wilson wrote: > > >I'm seeing a system get stuck unable to bring a downed interface back up > >when it's got an updelay value set, behavior which ceased when logging > >spew was removed from bond_

Re: [PATCH net v3] bonding: fix feature flag setting at init time

2020-12-03 Thread Jarod Wilson
On Thu, Dec 3, 2020 at 11:50 AM Jakub Kicinski wrote: > > On Wed, 2 Dec 2020 19:43:57 -0500 Jarod Wilson wrote: > > bond_dev->hw_features |= NETIF_F_GSO_ENCAP_ALL | NETIF_F_GSO_UDP_L4; > > -#ifdef CONFIG_XFRM_OFFLOAD > > - bond_dev->hw_features |= B

[PATCH net-next] bonding: set xfrm feature flags more sanely

2020-12-05 Thread Jarod Wilson
quot;David S. Miller" Cc: Jakub Kicinski Cc: Thomas Davis Cc: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/bonding/bond_main.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bo

[PATCH net v4] bonding: fix feature flag setting at init time

2020-12-05 Thread Jarod Wilson
uot;) Reported-by: Ivan Vecera Suggested-by: Ivan Vecera Cc: Jay Vosburgh Cc: Veaceslav Falico Cc: Andy Gospodarek Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Thomas Davis Cc: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- v2: rework based on further testing and suggestions from

Re: [PATCH net v3] bonding: fix feature flag setting at init time

2020-12-05 Thread Jarod Wilson
bond_dev->wanted_features |= BOND_XFRM_FEATURES; > + else > + bond_dev->wanted_features &= ~BOND_XFRM_FEATURES; > + > + netdev_update_features(bond_dev); > +} > > (Assuming BOND_XFRM_FEATURES doesn't itself hide under an ifdef.) It is, but doesn't need to be. I can mix these changes in as well. -- Jarod Wilson ja...@redhat.com

[PATCH net] bonding: reduce rtnl lock contention in mii monitor thread

2020-12-05 Thread Jarod Wilson
t;David S. Miller" CC: Jakub Kicinski CC: Thomas Davis CC: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/bonding/bond_main.c | 26 ++ include/net/bonding.h | 38 + 2 files changed, 44 insertions(+), 20 deletions(

[RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2020-12-18 Thread Jarod Wilson
Cc: Jay Vosburgh Cc: Veaceslav Falico Cc: Andy Gospodarek Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Thomas Davis Cc: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/bonding/bond_main.c| 27 +-- drivers/net/bonding/bond_options.c |

Re: [PATCH net] bonding: reduce rtnl lock contention in mii monitor thread

2020-12-18 Thread Jarod Wilson
On Tue, Dec 8, 2020 at 3:35 PM Jay Vosburgh wrote: > > Jarod Wilson wrote: ... > >The addition of a case BOND_LINK_BACK in bond_miimon_commit() is somewhat > >separate from the fix for the actual hang, but it eliminates a constant > >"invalid new link 3 on slave&

[PATCH net v2] bonding: fix feature flag setting at init time

2020-12-02 Thread Jarod Wilson
van Vecera Suggested-by: Ivan Vecera Cc: Jay Vosburgh Cc: Veaceslav Falico Cc: Andy Gospodarek Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Thomas Davis Cc: net...@vger.kernel.org Signed-off-by: Jarod Wilson --- drivers/net/bonding/bond_main.c| 10 -- drivers/net/bon

Re: [PATCH net v2] bonding: fix feature flag setting at init time

2020-12-02 Thread Jarod Wilson
On Wed, Dec 2, 2020 at 12:53 PM Jakub Kicinski wrote: > > On Wed, 2 Dec 2020 12:30:53 -0500 Jarod Wilson wrote: > > + if (bond->dev->reg_state != NETREG_REGISTERED) > > + goto noreg; > > + > > if (newval->value == BOND_MODE_AC

Re: [PATCH net v2] bonding: fix feature flag setting at init time

2020-12-02 Thread Jarod Wilson
On Wed, Dec 2, 2020 at 12:55 PM Jay Vosburgh wrote: > > Jarod Wilson wrote: > > >Don't try to adjust XFRM support flags if the bond device isn't yet > >registered. Bad things can currently happen when netdev_change_features() > >is called without havin

  1   2   3   4   5   >