-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcmu_get_runner_handler does not belong in scsi.c. Put it in runner and add a get/set helper to check if unmap is enabled on a device so we do not even need to have scsi.c call the get runner handler function.
- Loading branch information
Mike Christie
committed
Dec 5, 2018
1 parent
4e92768
commit 5bf04d0
Showing
9 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright (c) 2018 Red Hat, Inc. | ||
* | ||
* This file is licensed to you under your choice of the GNU Lesser | ||
* General Public License, version 2.1 or any later version (LGPLv2.1 or | ||
* later), or the Apache License 2.0. | ||
*/ | ||
|
||
/* | ||
* This header defines structures private to tcmu-runner, and should not | ||
* be used by anyone else. | ||
*/ | ||
|
||
#ifndef __TCMU_RUNNER_PRIV_H | ||
#define __TCMU_RUNNER_PRIV_H | ||
|
||
struct tcmu_device; | ||
struct tcmur_handler; | ||
|
||
struct tcmur_handler *tcmu_get_runner_handler(struct tcmu_device *dev); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters