• Jeff Layton's avatar
    cifs: add a cache= option to better describe the different cache flavors · 15b6a473
    Jeff Layton authored
    Currently, we have several mount options that control cifs' cache
    behavior, but those options aren't considered to be mutually exclusive.
    The result is poorly-defined when someone specifies more than one of
    these options at mount time.
    
    Fix this by adding a new cache= mount option that will supercede
    "strictcache", and "forcedirectio". That will help make it clear that
    these options are mutually exclusive. Also, change the legacy options to
    be mutually exclusive too, to ensure that users don't get surprises.
    Reviewed-by: default avatarPavel Shilovsky <piastry@etersoft.ru>
    Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
    15b6a473
connect.c 114 KB