"Steve French" <smfrench@xxxxxxxxx> writes: > Increases performance a lot in cases where we know that the share is > not changing This is just adding the parsing of the option but it sounds like a good idea. > +#define CIFS_MOUNT_RO_CACHE 0x20000000 /* assumes share will not change */ This flag probably needs to be added to CIFS_MOUNT_MASK: if one cifs sb is using that flag, it should only be reused for new mounts that also require that flag. Cheers, -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)