Hi Enzo, Enzo Matsumiya <ematsumiya@xxxxxxx> writes: > These 2 patches are a simple way to fix the DNS issue that > currently exists in cifs, where the upcall to key.dns_resolver will > always return 0 for the record TTL, hence, making the resolve worker > always use the default value SMB_DNS_RESOLVE_INTERVAL_DEFAULT > (currently 600 seconds). > > This also makes the new setting `dns_interval' user-configurable via > procfs (/proc/fs/cifs/dns_interval). How is the user supposed to know which TTL value will be used? If the expire time is set by either key.dns_resolver or any other program used for dns_resolver key, the above setting would no longer work and users might get confused.