9p locks: add mount option for lock retry interval
authorDinu-Razvan Chis-Serban <justcsdr@gmail.com>
Wed, 5 Sep 2018 07:44:12 +0000 (16:44 +0900)
committerDominique Martinet <dominique.martinet@cea.fr>
Fri, 7 Sep 2018 16:40:06 +0000 (01:40 +0900)
commit5e172f75e51e3de1b4274146d9b990f803cb5c2a
tree046d1464c0dfee806b4db9d0e4cbf1929cd997ad
parent2803cf4379ed252894f046cb8812a48db35294e3
9p locks: add mount option for lock retry interval

The default P9_LOCK_TIMEOUT can be too long for some users exporting
a local file system to a guest VM (30s), make this configurable at
mount time.

Link: http://lkml.kernel.org/r/1536295827-3181-1-git-send-email-asmadeus@codewreck.org
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=195727
Signed-off-by: Dinu-Razvan Chis-Serban <justcsdr@gmail.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
fs/9p/v9fs.c
fs/9p/v9fs.h
fs/9p/vfs_file.c