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, 20 Apr 2019 07:16:00 +0000 (09:16 +0200)
commit4369f8a38085347d9cf78fe6261b1296f664132c
treee74a49b36e5e29ddbf7d2b7bed147f0ec2eaa75e
parentdb77c7890ed73cfbdeb65954f12f6e0dab51b823
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