From: Jianyong Wu <jianyong.wu@arm.com>
To: ericvh@gmail.com, lucho@ionkov.net, asmadeus@codewreck.org,
v9fs-developer@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org, justin.he@arm.com, jianyong.wu@arm.com
Subject: [PATCH RFC 0/4] 9p: fix open-unlink-f*syscall bug
Date: Mon, 14 Sep 2020 11:37:50 +0800 [thread overview]
Message-ID: <20200914033754.29188-1-jianyong.wu@arm.com> (raw)
open-unlink-f*syscall bug is a well-known bug in 9p, we try to fix the bug
in this patch set.
I take Eric's and Greg's patches which constiute the 1/4 - 3/4 of this patch
set as the main frame of the solution. In patch 4/4, I fix the fid race issue
exists in Greg's patch.
Eric Van Hensbergen (1):
fs/9p: fix create-unlink-getattr idiom
Greg Kurz (1):
fs/9p: search open fids first
Jianyong Wu (2):
fs/9p: track open fids
9p: fix race issue in fid contention.
fs/9p/fid.c | 72 +++++++++++++++++++++++++++++++++++------
fs/9p/fid.h | 25 +++++++++++---
fs/9p/vfs_dentry.c | 2 +-
fs/9p/vfs_dir.c | 20 ++++++++++--
fs/9p/vfs_file.c | 3 +-
fs/9p/vfs_inode.c | 52 +++++++++++++++++++++--------
fs/9p/vfs_inode_dotl.c | 44 ++++++++++++++++---------
fs/9p/vfs_super.c | 7 ++--
fs/9p/xattr.c | 18 ++++++++---
include/net/9p/client.h | 8 +++++
net/9p/client.c | 7 +++-
11 files changed, 206 insertions(+), 52 deletions(-)
--
2.17.1
next reply other threads:[~2020-09-14 3:38 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-14 3:37 Jianyong Wu [this message]
2020-09-14 3:37 ` [PATCH RFC 1/4] fs/9p: fix create-unlink-getattr idiom Jianyong Wu
2020-09-14 6:00 ` Dominique Martinet
2020-09-14 8:11 ` Greg Kurz
2020-09-14 3:37 ` [PATCH RFC 2/4] fs/9p: track open fids Jianyong Wu
2020-09-14 3:37 ` [PATCH RFC 3/4] fs/9p: search open fids first Jianyong Wu
2020-09-14 3:37 ` [PATCH RFC 4/4] 9p: fix race issue in fid contention Jianyong Wu
2020-09-14 5:55 ` Dominique Martinet
2020-09-14 6:31 ` [V9fs-developer] " Dominique Martinet
2020-09-14 7:50 ` Jianyong Wu
2020-09-14 7:32 ` Jianyong Wu
2020-09-14 8:32 ` Dominique Martinet
2020-09-14 12:34 ` Jianyong Wu
2020-09-18 8:57 ` Jianyong Wu
2020-09-18 9:34 ` Dominique Martinet
2020-09-18 10:05 ` Jianyong Wu
2020-09-14 8:35 ` [V9fs-developer] [PATCH RFC 0/4] 9p: fix open-unlink-f*syscall bug Greg Kurz
2020-09-14 11:06 ` Christian Schoenebeck
2020-09-14 12:43 ` Greg Kurz
2020-09-14 15:19 ` Christian Schoenebeck
2020-09-14 15:46 ` Greg Kurz
2020-09-16 12:16 ` Greg Kurz
2020-09-17 10:07 ` Christian Schoenebeck
2020-09-14 12:36 ` Jianyong Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200914033754.29188-1-jianyong.wu@arm.com \
--to=jianyong.wu@arm.com \
--cc=asmadeus@codewreck.org \
--cc=ericvh@gmail.com \
--cc=justin.he@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lucho@ionkov.net \
--cc=v9fs-developer@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).