[linux-cifs-client] [PATCH 0/4] cifs: alternate approach to fixing oplock queue races

Steve French smfrench at gmail.com
Tue Sep 8 11:12:22 MDT 2009


On Tue, Sep 8, 2009 at 9:12 AM, Jeff Layton<jlayton at redhat.com> 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


More information about the linux-cifs-client mailing list