From: Mateusz Guzik <mguzik@redhat.com>
To: Eric Dumazet <edumazet@google.com>, Al Viro <viro@zeniv.linux.org.uk>
Cc: mszeredi@redhat.com, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] minor fd cleanup
Date: Tue, 3 Oct 2017 12:58:13 +0200 [thread overview]
Message-ID: <1507028295-9353-1-git-send-email-mguzik@redhat.com> (raw)
The first patch is a super minor nit and I'm fine with it being ignored.
Second patch is imho of actual value.
fd_install has an avoidable requirement to be called in a sleepable context.
It matters e.g. in rhel7 to where the patch was recently backported and the
new requirement could not be enforced.
I don't see any benefits from sleeping over locking and not sleeping makes
the function slightly nicer.
Mateusz Guzik (2):
vfs: stop clearing close on exec when closing a fd
vfs: grab the lock instead of blocking in __fd_install during resizing
Documentation/filesystems/porting | 4 ----
fs/file.c | 12 +++++++-----
2 files changed, 7 insertions(+), 9 deletions(-)
--
1.8.3.1
next reply other threads:[~2017-10-03 10:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-03 10:58 Mateusz Guzik [this message]
2017-10-03 10:58 ` [PATCH 1/2] vfs: stop clearing close on exec when closing a fd Mateusz Guzik
2017-10-03 14:39 ` Eric Dumazet
2017-10-03 10:58 ` [PATCH 2/2] vfs: grab the lock instead of blocking in __fd_install during resizing Mateusz Guzik
2017-10-03 14:41 ` Eric Dumazet
2017-10-04 13:55 ` Matthew Wilcox
2017-10-04 14:00 ` Eric Dumazet
2017-10-04 14:58 ` Matthew Wilcox
2017-10-04 15:04 ` Eric Dumazet
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=1507028295-9353-1-git-send-email-mguzik@redhat.com \
--to=mguzik@redhat.com \
--cc=edumazet@google.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mszeredi@redhat.com \
--cc=viro@zeniv.linux.org.uk \
/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
Powered by JetHome