* [git pull] vfs.git set_blocksize() (bdev pile 1)
@ 2024-05-21 4:37 Al Viro
2024-05-21 15:45 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2024-05-21 4:37 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-fsdevel, Jens Axboe, Christian Brauner, Christoph Hellwig
First bdev-related pile - set_blocksize() stuff
The following changes since commit 0bbac3facb5d6cc0171c45c9873a2dc96bea9680:
Linux 6.9-rc4 (2024-04-14 13:38:39 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-set_blocksize
for you to fetch changes up to d18a8679581e8d1166b68e211d16c5349ae8c38c:
make set_blocksize() fail unless block device is opened exclusive (2024-05-02 17:39:44 -0400)
----------------------------------------------------------------
getting rid of bogus set_blocksize() uses, switching it
to struct file * and verifying that caller has device
opened exclusively.
----------------------------------------------------------------
Al Viro (9):
bcache_register(): don't bother with set_blocksize()
pktcdvd: sort set_blocksize() calls out
swapon(2)/swapoff(2): don't bother with block size
swapon(2): open swap with O_EXCL
zram: don't bother with reopening - just use O_EXCL for open
swsusp: don't bother with setting block size
btrfs_get_bdev_and_sb(): call set_blocksize() only for exclusive opens
set_blocksize(): switch to passing struct file *
make set_blocksize() fail unless block device is opened exclusive
Documentation/filesystems/porting.rst | 7 +++++++
block/bdev.c | 14 ++++++++++----
block/ioctl.c | 21 ++++++++++++---------
drivers/block/pktcdvd.c | 7 +------
drivers/block/zram/zram_drv.c | 29 +++++++----------------------
drivers/block/zram/zram_drv.h | 2 +-
drivers/md/bcache/super.c | 4 ----
fs/btrfs/dev-replace.c | 2 +-
fs/btrfs/volumes.c | 13 ++++++++-----
fs/ext4/super.c | 2 +-
fs/reiserfs/journal.c | 5 ++---
fs/xfs/xfs_buf.c | 2 +-
include/linux/blkdev.h | 2 +-
include/linux/swap.h | 2 --
kernel/power/swap.c | 7 +------
mm/swapfile.c | 29 ++---------------------------
16 files changed, 55 insertions(+), 93 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [git pull] vfs.git set_blocksize() (bdev pile 1)
2024-05-21 4:37 [git pull] vfs.git set_blocksize() (bdev pile 1) Al Viro
@ 2024-05-21 15:45 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2024-05-21 15:45 UTC (permalink / raw)
To: Al Viro
Cc: Linus Torvalds, linux-fsdevel, Jens Axboe, Christian Brauner,
Christoph Hellwig
The pull request you sent on Tue, 21 May 2024 05:37:31 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-set_blocksize
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5ad8b6ad9a08abdbc8c57a51a5faaf2ef1afc547
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-21 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 4:37 [git pull] vfs.git set_blocksize() (bdev pile 1) Al Viro
2024-05-21 15:45 ` pr-tracker-bot
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).