Re: [V9fs-developer] [PATCH] net/9p: Handle get_user_pages_fast returnproperly

From: Venkateswararao Jujjuri
Date: Tue Apr 19 2011 - 19:41:34 EST


On 04/19/2011 08:24 AM, M. Mohan Kumar wrote:
On Friday 15 April 2011 8:23:16 pm Venkateswararao Jujjuri wrote:
- if (err != -ERESTARTSYS)
+ if (err != -ERESTARTSYS&& err != -EFAULT)
Please analyze other errors that could be returned by
c->trans_mod->request()
if they need any handling here.
Thanks JV, but we don't need to handle other errors as of now.
*request could also return -EIO and -ENOMEM.
As you said, may be we should leave the default behavior on these errors(suspend the channel).

Thanks,
JV
I will post a V2 patch with retaining printing error message.
----
M. Mohan Kumar

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/