commit | 63b7d3a41ccadef971a4ffbe6662119d4275ebf9 | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <piastry@etersoft.ru> | Mon Dec 24 14:41:19 2012 +0400 |
committer | Steve French <smfrench@gmail.com> | Tue Jan 01 23:04:30 2013 -0600 |
tree | 02ccbd85b5628cc1cb4cb982c74514fe8d851fdb | |
parent | 88cf75aaaf27a652b3e85960ac3060172dd3edac [diff] |
CIFS: Don't let read only caching for mandatory byte-range locked files If we have mandatory byte-range locks on a file we can't cache reads because pagereading may have conflicts with these locks on the server. That's why we should allow level2 oplocks for files without mandatory locks only. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>