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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2019 07:30:28 +0000 (09:30 +0200)
commitee6acb13285bc61bbfa2a61e7d021ae9fd2e6c5a
tree7f14c6253ce78f3aff9ac3611e0e602266d8de02
parentdb8207b7ac30bb65907ab183e8e27b7576187627
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