Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71734
b: refs/heads/master
c: b15546f
h: refs/heads/master
v: v3
  • Loading branch information
Mike Anderson authored and Alasdair G Kergon committed Oct 20, 2007
1 parent adefd16 commit 2d746bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a8c3d3b92883798e4ead21dd48c16db0ec0ff6f
refs/heads/master: b15546f942c09fe55ad55af31841eecacbf4ffd1
7 changes: 7 additions & 0 deletions trunk/drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "dm-hw-handler.h"
#include "dm-bio-list.h"
#include "dm-bio-record.h"
#include "dm-uevent.h"

#include <linux/ctype.h>
#include <linux/init.h>
Expand Down Expand Up @@ -857,6 +858,9 @@ static int fail_path(struct pgpath *pgpath)
if (pgpath == m->current_pgpath)
m->current_pgpath = NULL;

dm_path_uevent(DM_UEVENT_PATH_FAILED, m->ti,
pgpath->path.dev->name, m->nr_valid_paths);

queue_work(kmultipathd, &m->trigger_event);

out:
Expand Down Expand Up @@ -896,6 +900,9 @@ static int reinstate_path(struct pgpath *pgpath)
if (!m->nr_valid_paths++ && m->queue_size)
queue_work(kmultipathd, &m->process_queued_ios);

dm_path_uevent(DM_UEVENT_PATH_REINSTATED, m->ti,
pgpath->path.dev->name, m->nr_valid_paths);

queue_work(kmultipathd, &m->trigger_event);

out:
Expand Down

0 comments on commit 2d746bb

Please sign in to comment.