Skip to contentSkip to conversation

FireWire/SBP2 Target mode

RFC PATCH Superseded Chris Boot 8 participants 100 messages Aug 17, 2011 – Apr 18, 2012 1 message not in the archive Page 2 of 2

Subsystems (4)
lore
Share & tools
lore
#98 lore raw

Re: [PATCH 0/2] sbp-target: cleanup after merge into single file

In reply to Stefan Richter
Quoted 11 lines · Stefan Richter
Quoted 2 lines · On Apr 14 Nicholas A. Bellinger wrote:

Also, it looks like Stefan has a few more comments from the last round of review..

Don't consider them blocking. I would welcome it if the code gets merged soon, it looks very nice and maintainable. The card state <-> session state interactions which I was wondering about will be more comfortable for me to investigate when it is in mainline; I believe there is no urgency for me to look into that. Other obscure but simple things like making use of memory alignment guarantees from firewire-core are more effectively addressed if I can send patches rather than comments.

<nod> In that case, I'll go ahead and add your Acked-by to the initial merge commit for sbp-target that will be appearing in target-pending/for-next-merge shortly.

Thanks Stefan!

--nab

author maintainer
#99 lore raw

Re: [PATCH v3 00/11] firewire-sbp-target: FireWire SBP-2 SCSI target

In reply to Nicholas A. Bellinger
Quoted 28 lines · Nicholas A. Bellinger
Quoted 10 lines
Quoted 10 lines

This looks to me like a reasonable candidate for a v3.5 mainline merge, so we need to go ahead and get this into target-pending.. Also, thanks for getting Stefan's ACK's here on the drivers/firmware/ specific changes..

So for new fabric drivers (as discused with Sebastian and usb-gadget recently) that the target team has been enforcing that new fabric modules convert to use a single source / header file for readability and maintainability purposes.

Quoted 8 lines
Quoted 4 lines

It would be great if you can publish one more branch (no need to re-post the full diff) that takes your patch-v3 down to a single .c/.h file. Otherwise, I'm fine to take the 15 minutes to do this conversion ahead of dropping into target-pending for the sunday night linux-next build.

I'll get onto it over the weekend, I hope. I assume in this case I just stick it all in drivers/target/ instead of having a sbp/ directory underneath that?

I was eager to see this change, so I decided to go ahead and do the mechanical conversion myself in the following branch:

git://git.kernel.org/pub/scm/linux/kernel/git/nab/lio-core.git sbp-merge

As mentioned, it converts drivers/target/sbp/ to use a single sbp_target.[c,h] source/header file following mainline convention for new target fabric drivers. Also make as many functions as possible statically defined and add inline prototypes where necessary.

Quoted 7 lines

This patch also renames the sbp-target config entry from:

     FIREWIRE_SBP_TARGET ->  SBP_TARGET

and also renames the final generated module name from:

     fireware-sbp-target.ko ->  sbp_target.ko

Nick,

I only just noticed this, but it looks like your merge lost my changed to the MAINTAINERS file. Want me to send a fixup patch?

Cheers,
Chris

Signature · 2 lines
Chris Boot
[email protected]
#100 lore raw

Re: [PATCH v3 00/11] firewire-sbp-target: FireWire SBP-2 SCSI target

Quoted 1 line · Chris Boot

On 14/04/2012 02:23, Nicholas A. Bellinger wrote:

<SNIP>

Quoted 14 lines
Quoted 14 lines

I was eager to see this change, so I decided to go ahead and do the mechanical conversion myself in the following branch:

git://git.kernel.org/pub/scm/linux/kernel/git/nab/lio-core.git sbp-merge

As mentioned, it converts drivers/target/sbp/ to use a single sbp_target.[c,h] source/header file following mainline convention for new target fabric drivers. Also make as many functions as possible statically defined and add inline prototypes where necessary.

This patch also renames the sbp-target config entry from:

     FIREWIRE_SBP_TARGET ->  SBP_TARGET
Quoted 9 lines
Quoted 3 lines

and also renames the final generated module name from:

     fireware-sbp-target.ko ->  sbp_target.ko

Nick,

I only just noticed this, but it looks like your merge lost my changed to the MAINTAINERS file. Want me to send a fixup patch?

Whoops, sorry about that Chris. I'll be sure to get this fixed up in the next target-pending update.

Thanks!

--nab