[tahoe-dev] Progress on SFTP for v1.7

Francois Deppierraz francois at ctrlaltdel.ch
Thu May 13 10:54:29 UTC 2010


On 05/13/2010 06:01 AM, David-Sarah Hopwood wrote:

> So, to test the code thoroughly, it's necessary to use files in all of
> the following categories:
>
>   - LIT files (up to 65 bytes I think; immutable)
>   - small CHK files (66 to 1000 bytes inclusive; immutable)
>   - large CHK files (more than 1000 bytes; immutable)
>   - SSK files (size doesn't matter; mutable)

I'll do further tests with different size of files. But this specific 
issue doesn't seem related to the file size.

> Each of these needs to be tested with all combinations of 'open' flags that
> the client supports.
>
> The categories of directories are:
>   - DIR2-LIT directories (empty, or with one small LIT file and no metadata)
>   - DIR2-IMM directories (e.g. produced by 'tahoe backup')
>   - DIR2 mutable directories (the most common case)
>
>> However, I had no luck in writing immutable files.
>
> Was that with both Nautilus and sshfs?

Yes, both.

> To debug this I need to know what requests the client made, in particular
> what flags were passed to the open request when writing. Can you change
> 'debug = False' to 'debug = True' in sftpd.py, and attach the full output
> to ticket #1037? Thanks.

Done, I've attached to the ticket a debug log generated by the upload of 
a 18 byte file which was hanging.

François



More information about the tahoe-dev mailing list