[PVFS2-developers] pvfs2 failover almost there

Phil Carns pcarns at parl.clemson.edu
Fri Jun 18 09:35:24 EDT 2004


Whoops, my bad- I see you checked in a fix for that while I was typing 
that last message :)  Carry on :)

-Phil

> The PVFS2 system interface doesn't have any concept of a "short write". 
>  That message came out of pvfs2-cp:
> 
> ret = generic_write(&dest, buffer, total_written,
>     buffer_size, &credentials);
> if (ret != current_size)
> {
>     fprintf(stderr, "Error: short write\n");
>     ret = -1;
>     goto main_out;
> }
> 
> That error message is a little misleading because the generic_write 
> function in their could be returning a negative error code; I suspect it 
> should have just reported that the write failed rather than that the 
> write was short for the pvfs2 case.
> 
> -Phil
> 



More information about the PVFS2-developers mailing list