summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-05-09 00:17:30 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-10 23:45:28 -0700
commitd9568ba91b1fdd1ea4fdbf9fcc76b867cca6c1d5 (patch)
treeda1f4e40d5d0a5e2ff3d5b6ca077917e0af71144 /block
parentdb0ccffed91e234cad99a35f07d5a322f410baa2 (diff)
downloadblackbird-op-linux-d9568ba91b1fdd1ea4fdbf9fcc76b867cca6c1d5.tar.gz
blackbird-op-linux-d9568ba91b1fdd1ea4fdbf9fcc76b867cca6c1d5.zip
[NET] link_watch: Always schedule urgent events
Urgent events may be delayed if we already have a non-urgent event queued for that device. This patch changes this by making sure that an urgent event is always looked at immediately. I've replaced the LW_RUNNING flag by LW_URGENT since whether work is scheduled is already kept track by the work queue system. The only complication is that we have to provide some exclusion for the setting linkwatch_nextevent which is available in the actual work function. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud