[stgt] [PATCH 1/3] add state to tgt_driver, set it by lld init result

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Oct 28 14:33:22 CEST 2011


On Wed, 26 Oct 2011 19:58:49 +0200
Alexander Nezhinsky <alexandern at mellanox.com> wrote:

> Added "state" field to "struct tgt_driver".
> When a LLD goes through its init function, the state chages to INIT state
> if all is ok, or to ERR if init fails.
> This state is displayed using "-m system -o show" for every registered LLD.
> Management operations are allowed only for LLDs that have passed
> initialization successfully.
> 
> Signed-off-by: Alexander Nezhinsky <alexandern at mellanox.com>
> ---
>   usr/driver.c |   17 +++++++++++++++++
>   usr/driver.h |    9 +++++++++
>   usr/tgtd.c   |    6 +++++-
>   3 files changed, 31 insertions(+), 1 deletions(-)

Looks good, thanks! But I can't apply the patches cleanly. Can you
resend clean patches?

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list