[Stgt-devel] PATCH 3 of 6 - SMC module
Ming Zhang
blackmagic02881
Sat May 12 04:31:16 CEST 2007
On Sat, 2007-05-12 at 12:23 +1000, Mark Harvey wrote:
> On 5/12/07, Ming Zhang <blackmagic02881 at gmail.com> wrote:
> > my similar comment applied to this patch as well.
> >
> > also seems there are some functions that duplicated in two files, can we
> > combine them?
> >
> > also the physicalattr structure can be a common structure for ALL scsi
> > type devices,
> >
> > Ming
>
> physical Attribute structure will be common to all (most ?) modules.
in c++ concept, we should have a class device and then each device add
some special stuff. i agree with u that each module (device ) should
have such stuff.
>
> Once the patch to add a private pointer to struct scsi_lu has been
> accepted, a private instance to physicalAttributes can be referenced
> to by each LUN and I will update the other modules (sbc/mmc etc) to
> use this structure.
>
> Or is it the other way around ?
> i.e. If I submit a patch to use this pointer, there is a greater
> likely hood of this patch being applied.
>
see which way tomof like.
> Cheers
> Mark
> >
> >
> > On Fri, 2007-05-11 at 13:18 +1000, Mark Harvey wrote:
> > > SMC module
> > > _______________________________________________
> > > Stgt-devel mailing list
> > > Stgt-devel at lists.berlios.de
> > > https://lists.berlios.de/mailman/listinfo/stgt-devel
> >
> >
More information about the stgt
mailing list