Re: [PATCH 0/4] cifs: alternate approach to fixing oplock queue races

Steve French <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
On Tue, Sep 8, 2009 at 9:12 AM, Jeff Layton<[email protected]> wrote:
> This patchset is an alternate approach to fixing the oplock queue
> problems. Rather than tracking oplocks with separate structures, this
> patchset adds some fields to cifsFileInfo.
>
> When an oplock break comes in, is_valid_oplock_break takes an extra
> reference to the cifsFileInfo and queues the oplock break job to the
> events workqueue.

This looks excellent - the 4th patch has to be tried carefully but
easier to read than alternatives.   Any idea when the schedule_work
would get dispatched (is the current task put to sleep immediately?)

-- 
Thanks,

Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.