mirror-linux/include/uapi
Qu Wenruo 6b1ac78dd0 btrfs: implement shutdown ioctl
The shutdown ioctl should follow the XFS one, which use magic number 'X',
and ioctl number 125, with a uint32 as flags.

For now btrfs don't distinguish DEFAULT and LOGFLUSH flags (just like
f2fs), both will freeze the fs first (implies committing the current
transaction), setting the SHUTDOWN flag and finally thaw the fs.

For NOLOGFLUSH flag, the freeze/thaw part is skipped thus the current
transaction is aborted.

The new shutdown ioctl is hidden behind experimental features for more
testing.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <asj@kernel.org>
Tested-by: Anand Jain <asj@kernel.org>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2025-11-24 21:56:17 +01:00
..
asm-generic Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
cxl
drm drm: define NVIDIA DRM format modifiers for GB20x 2025-11-06 11:01:45 +10:00
fwctl
linux btrfs: implement shutdown ioctl 2025-11-24 21:56:17 +01:00
misc Char/Misc/IIO/Binder changes for 6.18-rc1 2025-10-04 16:26:32 -07:00
mtd
rdma RDMA/irdma: Add SRQ support 2025-09-18 04:48:46 -04:00
regulator
scsi scsi: fc: Avoid -Wflex-array-member-not-at-end warnings 2025-08-30 21:42:19 -04:00
sound ALSA: compress: document 'chan_map' member in snd_dec_opus 2025-09-28 08:29:03 +02:00
video
xen
Kbuild