[linux-cifs-client][patch] CIFS command behaviour based on mid status

Steve French smfrench at gmail.com
Mon Nov 3 18:59:49 GMT 2008


I don't think that this is right ... we won't change the socket status
to CifsNeedReconnect unless the request is in state
MID_REQUEST_SUBMITTED, so there should be no need for you change.

(and note that you changed the return code when we are shutting down
from EHOSTDOWN to EIO, which may be harmless but changes behavior)

On Mon, Nov 3, 2008 at 12:23 PM, Shirish Pargaonkar
<shirishpargaonkar at gmail.com> wrote:
> On Mon, Nov 3, 2008 at 10:39 AM, Shirish Pargaonkar
> <shirishpargaonkar at gmail.com> wrote:
>> If the midStatus is 'retry needed' return with egain and do not attempt
>> reconnect as a reconnect just happened.
>>
>
> Another version of this patch, took out two redundant lines.
>
> Regards,
>
> Shirish
>



-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list