From: Al Viro <viro@zeniv.linux.org.uk>
To: linux-fsdevel@vger.kernel.org
Cc: Evgeniy Dushistov <dushistov@mail.ru>,
Matthew Wilcox <willy@infradead.org>,
Christian Brauner <brauner@kernel.org>, Jan Kara <jack@suse.cz>
Subject: [RFC][CFT][PATCHES] fs/ufs cleanups and fixes
Date: Sat, 19 Oct 2024 00:14:28 +0100 [thread overview]
Message-ID: <20241018231428.GC1172273@ZenIV> (raw)
A bunch of UFS patches of different age; most of that had
been sitting in my tree for quite a while. This stuff survives
xfstests (with mkfs.ufs and fsck.ufs from old debian ufsutils
and
export FSTYP=ufs
export MOUNT_OPTIONS="-o ufstype=ufs2"
export SCRATCH_OPTIONS="-o ufstype=ufs2"
export TEST_FS_MOUNT_OPTS="-o ufstype=ufs2"
in local.config); review and more testing would be welcome.
It still has... interesting issues around block relocation we had
since 2.3.early, but to deal with that we'll need an iomap conversion
and that requires quite a bit of untangling of inode.c and balloc.c;
some of that is done in that pile, so hopefully we'll get there.
Branch is in git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #work.ufs,
individual patches in followups.
If there's no objections, I'm going to put that into -next (either
via viro/vfs.git or vfs/vfs.git; AFAIK there's no dedicated UFS git
tree).
Shortlog:
Al Viro (12):
ufs: fix handling of delete_entry and set_link failures
ufs: missing ->splice_write()
ufs: fix ufs_read_cylinder() failure handling
ufs: untangle ubh_...block...() macros, part 1
ufs: untangle ubh_...block...(), part 2
ufs: untangle ubh_...block...(), part 3
ufs_clusteracct(): switch to passing fragment number
ufs_free_fragments(): fix the braino in sanity check
ufs_inode_getfrag(): remove junk comment
ufs: get rid of ubh_{ubhcpymem,memcpyubh}()
clean ufs_trunc_direct() up a bit...
ufs: take the handling of free block counters into a helper
Matthew Wilcox (Oracle) (5):
ufs: Convert ufs_inode_getblock() to take a folio
ufs: Convert ufs_extend_tail() to take a folio
ufs: Convert ufs_inode_getfrag() to take a folio
ufs: Pass a folio to ufs_new_fragments()
ufs: Convert ufs_change_blocknr() to take a folio
Diffstat:
fs/ufs/balloc.c | 107 ++++++++++++++------------------
fs/ufs/cylinder.c | 31 ++++++----
fs/ufs/dir.c | 29 +++++----
fs/ufs/file.c | 1 +
fs/ufs/inode.c | 179 +++++++++++++++++++++++-------------------------------
fs/ufs/namei.c | 39 ++++++------
fs/ufs/super.c | 45 ++++++--------
fs/ufs/ufs.h | 12 ++--
fs/ufs/util.c | 46 --------------
fs/ufs/util.h | 61 +++++++++----------
10 files changed, 222 insertions(+), 328 deletions(-)
next reply other threads:[~2024-10-18 23:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 23:14 Al Viro [this message]
2024-10-18 23:19 ` [PATCH 01/17] ufs: fix handling of delete_entry and set_link failures Al Viro
2024-10-18 23:19 ` [PATCH 02/17] ufs: missing ->splice_write() Al Viro
2024-10-18 23:19 ` [PATCH 03/17] ufs: fix ufs_read_cylinder() failure handling Al Viro
2024-10-18 23:19 ` [PATCH 04/17] ufs: untangle ubh_...block...() macros, part 1 Al Viro
2024-10-18 23:19 ` [PATCH 05/17] ufs: untangle ubh_...block...(), part 2 Al Viro
2024-10-18 23:19 ` [PATCH 06/17] ufs: untangle ubh_...block...(), part 3 Al Viro
2024-10-18 23:19 ` [PATCH 07/17] ufs_clusteracct(): switch to passing fragment number Al Viro
2024-10-18 23:19 ` [PATCH 08/17] ufs_free_fragments(): fix the braino in sanity check Al Viro
2024-10-18 23:19 ` [PATCH 09/17] ufs_inode_getfrag(): remove junk comment Al Viro
2024-10-18 23:19 ` [PATCH 10/17] ufs: get rid of ubh_{ubhcpymem,memcpyubh}() Al Viro
2024-10-18 23:19 ` [PATCH 11/17] clean ufs_trunc_direct() up a bit Al Viro
2024-10-18 23:19 ` [PATCH 12/17] ufs: take the handling of free block counters into a helper Al Viro
2024-10-18 23:19 ` [PATCH 13/17] ufs: Convert ufs_inode_getblock() to take a folio Al Viro
2024-10-18 23:19 ` [PATCH 14/17] ufs: Convert ufs_extend_tail() " Al Viro
2024-10-18 23:19 ` [PATCH 15/17] ufs: Convert ufs_inode_getfrag() " Al Viro
2024-10-18 23:19 ` [PATCH 16/17] ufs: Pass a folio to ufs_new_fragments() Al Viro
2024-10-18 23:19 ` [PATCH 17/17] ufs: Convert ufs_change_blocknr() to take a folio Al Viro
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=20241018231428.GC1172273@ZenIV \
--to=viro@zeniv.linux.org.uk \
--cc=brauner@kernel.org \
--cc=dushistov@mail.ru \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=willy@infradead.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;
as well as URLs for NNTP newsgroup(s).