[ofa-general] Re: [PATCH 2/2] IB/iser: add backport & kernel addons foropen-iscsiover iSER support for RHAS4 up3 and up4

Erez Zilber erezz at voltaire.com
Tue May 29 06:41:12 PDT 2007


>> I have the following files in backport/2.6.9_UX/include/src/:
>>
>> attribute_container.c - almost identical to the file on 2.6.20. I had to change one line in it.
>>     
>
> could be a patch ...
> which line?
>
>   
Now, attribute_container.c, klist.c & transport_class.c are copied from
the kernel tree. I've committed the required changes in
~erezz/ofabuild_iser_rh4.git & ~erezz/ofed_1_2_iser_rh4.git. The main
change is a new dir called "kernel_addons_patches". It contains patches
for kernel tree files in order to create the required addons from them.

The rest of the files that I added to include/src are very small. I hope
it's ok now.

>> init.c - only a small part of the original file in 2.6.20
>>
>> klist.c - almost identical to the file on 2.6.20. I had to change one line in it.
>>     
>
> which line?
>   
See above.
>   
>> kref_new.c - based on kref.c
>>     
>
> Sounds scary ... how different is it?
>   
This file was removed.
>   
>> scsi.c - only a small part of the original file in 2.6.20
>>
>> scsi_lib.c - only a small part of the original file in 2.6.20
>>
>> scsi_scan.c - only a small part of the original file in 2.6.20
>>
>> transport_class.c - identical to 2.6.20
>>
>> So, the only file identical to 2.6.20 is transport_class.c. We can copy it from 2.6.20, but since it's only a single file, I'm not sure if it will make a real difference.
>>     
>
> transport_class.c, attribute_container.c and klist.c are quite big together:
> more than 1000 lines. So by all means, let's check them out from kernel tree.
>   
Done.

Erez




More information about the general mailing list