lkml.org 
[lkml]   [2012]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] nfs-util: Add cache_flush in mountd UMNT procedure.
From
>> Hi James.
>> I have a question.
>> If we found the method to notify nfs when unplugging device,
>
Hi James.
> What's that?
I need to check more...

>
>> Can nfsd
>> flush only entry of usb mount ?
>
> Hm, I don't think there's anything that does that now. But I think if
> you look it up and set the cache item's expiry_time to the current unix
> time in seconds, that'd be at least a start.
>
> Come to think of it you should actually be able to do that from
> userspace if you want: just write a negative cache entry for that
> export.
>
> However you do this there may still be some brief delay while some
> thread finishes processing an rpc using the entry; I don't know what to
> do about that. It's unlikely in your case (where clients have unmounted
> first).
Okay, I will look for more.
Thanks for your reply.
>
> --b.
>


\
 
 \ /
  Last update: 2012-07-28 07:21    [W:0.047 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site