From: David Howells <dhowells@redhat.com>
To: torvalds@linux-foundation.org
Cc: dhowells@redhat.com, Marc Dionne <marc.dionne@auristor.com>,
linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [GIT PULL] afs: Miscellaneous fixes
Date: Fri, 24 Nov 2023 15:52:20 +0000 [thread overview]
Message-ID: <1205248.1700841140@warthog.procyon.org.uk> (raw)
Hi Linus,
Here are a set of miscellaneous small fixes to the afs filesystem
including:
(1) Fix the afs_server_list struct to be cleaned up with RCU.
(2) Fix afs to translate a no-data result from a DNS lookup into ENOENT,
not EDESTADDRREQ for consistency with OpenAFS.
(3) Fix afs to translate a negative DNS lookup result into ENOENT rather
than EDESTADDRREQ.
(4) Fix file locking on R/O volumes to operate in local mode as the server
doesn't handle exclusive locks on such files.
(5) Set SB_RDONLY on superblocks for RO and Backup volumes so that the VFS
can see that they're read only.
Btw, I did want to ask about (5): Does a superblock being marked SB_RDONLY
imply immutability to the application? A 'read only' AFS volume is a snapshot
of a writable volume and can be updated. It's only read-only in the sense you
can't perform normal filesystem modification ops on it.
Link: https://lore.kernel.org/r/20231116155312.156593-1-dhowells@redhat.com/ # v1
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
Thanks,
David
---
The following changes since commit 76df934c6d5f5c93ba7a0112b1818620ddc10b19:
MAINTAINERS: Add netdev subsystem profile link (2023-11-17 03:44:21 +0000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20231124
for you to fetch changes up to 68516f60c1d8b0a71e516d630f66b99cb50e0150:
afs: Mark a superblock for an R/O or Backup volume as SB_RDONLY (2023-11-24 14:52:24 +0000)
----------------------------------------------------------------
AFS Fixes
----------------------------------------------------------------
David Howells (5):
afs: Fix afs_server_list to be cleaned up with RCU
afs: Make error on cell lookup failure consistent with OpenAFS
afs: Return ENOENT if no cell DNS record can be found
afs: Fix file locking on R/O volumes to operate in local mode
afs: Mark a superblock for an R/O or Backup volume as SB_RDONLY
fs/afs/dynroot.c | 4 ++--
fs/afs/internal.h | 1 +
fs/afs/server_list.c | 2 +-
fs/afs/super.c | 4 ++++
fs/afs/vl_rotate.c | 10 ++++++++++
5 files changed, 18 insertions(+), 3 deletions(-)
next reply other threads:[~2023-11-24 15:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 15:52 David Howells [this message]
2023-11-24 18:39 ` [GIT PULL] afs: Miscellaneous fixes Linus Torvalds
2023-11-24 18:54 ` pr-tracker-bot
-- strict thread matches above, loose matches on Subject: below --
2021-07-21 14:22 David Howells
2021-07-21 19:47 ` pr-tracker-bot
2020-04-24 16:12 David Howells
2020-04-24 17:35 ` Linus Torvalds
2020-04-24 18:40 ` pr-tracker-bot
2019-12-11 21:17 David Howells
2019-12-12 2:50 ` pr-tracker-bot
2019-05-16 23:00 David Howells
2019-05-17 0:08 ` Linus Torvalds
2019-05-17 0:25 ` pr-tracker-bot
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=1205248.1700841140@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=linux-afs@lists.infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.dionne@auristor.com \
--cc=torvalds@linux-foundation.org \
/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