diff options
| author | Kiyoshi Ueda <[email protected]> | 2006-12-08 02:41:10 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-08 08:29:09 -0800 |
| commit | 45e157206c732613d1c07e8ceeb1a3e497fb2abf (patch) | |
| tree | 327d36f8aea80f3a7fed4bb43232155dd4835145 /include/linux/debugobjects.h | |
| parent | 2e93ccc1933d08d32d9bde3784c3823e67b9b030 (diff) | |
[PATCH] dm: mpath: use noflush suspending
Implement the pushback feature for the multipath target.
The pushback request is used when:
1) there are no valid paths;
2) queue_if_no_path was set;
3) a suspend is being issued with the DMF_NOFLUSH_SUSPENDING flag.
Otherwise bios are returned to applications with -EIO.
To check whether queue_if_no_path is specified or not, you need to check
both queue_if_no_path and saved_queue_if_no_path, because presuspend saves
the original queue_if_no_path value to saved_queue_if_no_path.
The check for 1 already exists in both map_io() and do_end_io().
So this patch adds __must_push_back() to check 2 and 3.
Test results:
See the test results in the preceding patch.
Signed-off-by: Kiyoshi Ueda <[email protected]>
Signed-off-by: Jun'ichi Nomura <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Cc: [email protected]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions