9p locks: add mount option for lock retry interval
commit3191224b905b05bf9ef1ddcd0dbf226ef6a35932
authorDinu-Razvan Chis-Serban <justcsdr@gmail.com>
Wed, 5 Sep 2018 07:44:12 +0000 (5 16:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Apr 2019 07:07:51 +0000 (20 09:07 +0200)
treedd72a49de692463f13b0c85011acf310a05177e4
parentfea7d0d3125d518f9b2549a114614a9ef052f2c3
9p locks: add mount option for lock retry interval

[ Upstream commit 5e172f75e51e3de1b4274146d9b990f803cb5c2a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/9p/v9fs.c
fs/9p/v9fs.h
fs/9p/vfs_file.c