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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 26 Oct 2011 19:58:49 +0200
Alexander Nezhinsky <alexandern@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>
> ---
>   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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux