[Stgt-devel] Implementation of vtl

Mark Harvey markh794
Wed May 7 10:22:45 CEST 2008


Hello aftab azmi,

First off, thanks... You beat me to the punch :) It might save me some work....

While I can't speak authoritatively, I'm sure this will be rejected
first off due the the code base not following the Linux kernel coding
style... You can find the coding style document in the Linux kernel
source under the Documentation dir.

I've passed it thru the scripts/checkpatch.pl script and attached are
the coding style errors: (Lots of tab/space issues)

2nd. The 'detection' of a filemark appears a little week. i.e. first
byte at a 512 byte boundary to contain '28'. This could produce many
false positives.

3rd. I see no way to detect variable block underrun/overrun detection
(the main sticking point with my code base)..

4th. You assume variable block writes. This code would fail if the
user set the tape block size to 'fixed block'.

Point 1 is easily resolved with a little effort.
Do you have any ideas on the solution to points 2 & 3 (just not coded yet) ?
Point 4 is an easy code fix.

Keep up the good work.

p.s. To make it much easier for people on this list to review the
code, please refer to the Linux kernel 'submitting patches' document.
You will receive much faster code reviews...

Regards
Mark Harvey

On Tue, May 6, 2008 at 5:24 PM, aftab azmi <max_aftab at yahoo.com> wrote:
> Hiii everyone...
>     Attached herewith  is our implementation  of  Virtual  Tape Library....I have implemented all the mandatory commands mentioned in ssc-r42  except  erase command.....
>  For this to run u have  to change the default-bst in iscsid.c  to "ssc"..
>  We can use tar command to read/write  backup..
>  Please do send in your comments and suggestions for further devlopment.
>
>
>
>
>
>
>       Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups/bestofyahoo/
> _______________________________________________
>  Stgt-devel mailing list
>  Stgt-devel at lists.berlios.de
>  https://lists.berlios.de/mailman/listinfo/stgt-devel
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bs_ssc-check_patch
Type: application/octet-stream
Size: 16346 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/stgt-devel/attachments/20080507/856ef0a4/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssc-check_patch
Type: application/octet-stream
Size: 2017 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/stgt-devel/attachments/20080507/856ef0a4/attachment-0001.obj 



More information about the stgt mailing list