Tomonori-san, Thank you for your comments. I updated the patch with following: - put description in a patch - change the command syntax from deletef operation to force option Could you please review the attached patch? Respectfully, Hisashi Osanai (osanai.hisashi@xxxxxxxxxxxxxx) On Mon, 11 Jul 2011 09:16:42 +0900 FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote: > On Mon, 11 Jul 2011 08:44:15 +0900 > Shuko Yasumoto <yasumoto.shuko@xxxxxxxxxxxxxx> wrote: > > > Hi, > > > > Thank you for your response. > > > > Yes. You are right. This operation removes a target which > > has sessions. > > ok, please add such description to the patch. > > Next question is why you need new operation "deletef"? Why can't you > do like the following instead? > > /usr/sbin/tgtadm --lld iscsi --op delete --force --mode target --tid 1
Attachment:
0001-Add-force-deletion-of-a-target-which-has-sessions.patch
Description: Binary data