lkml.org 
[lkml]   [2011]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [V9fs-developer] [PATCH] net/9p: Handle get_user_pages_fast return properly
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



\
 
 \ /
  Last update: 2011-04-20 01:43    [from the cache]
©2003-2011 Jasper Spaans