[PATCH v2 0/4] cifs: pave way for change to "strictcache" by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is the second version of this patchset. The first version of this
lays out the rationale for this change and is available here:

    http://permalink.gmane.org/gmane.linux.kernel.cifs/6007

In discussing this, Steve pointed out that fsc is not necessarily
mutually exclusive with cache=strict. While I've always tended to think
of fsc as a mechanism to cache data across reboots, it can also function
as a "swap for pagecache" mechanism as well, allowing you to cache more
data locally than you have RAM.

That said, I don't think the intersection of cache=strict and fsc will
work properly today. I'm skeptical that the fscache is being invalidated
correctly when an oplock is lost and reacquired. That should probably be
fixed at some point if we want this to work.

Still, that's good enough reason not to make fsc mutually exclusive with
the other cache= options. This patchset then removes fsc from that
mutual exclusion and the warnings.

I've left Pavel's Reviewed-by's in place since this patchset is in the
same spirit as the previous one. Pavel, let me know if you'd like those
removed.

Jeff Layton (4):
  cifs: add a cache= option to better describe the different cache
    flavors
  cifs: add deprecation warnings to strictcache and forcedirectio
  cifs: display cache= option in /proc/mounts
  cifs: add warning about change in default cache semantics in 3.7

 fs/cifs/cifsfs.c  |   18 ++++++++++---
 fs/cifs/connect.c |   76 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 87 insertions(+), 7 deletions(-)

-- 
1.7.7.6

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


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux