summaryrefslogtreecommitdiff
path: root/block/ioctl.c
AgeCommit message (Expand)AuthorFilesLines
2024-09-11block: implement async io_uring discard cmdPavel Begunkov1-0/+112
2024-09-11block: introduce blk_validate_byte_range()Pavel Begunkov1-19/+32
2024-09-04block: fix integer overflow in BLKSECDISCARDAlexey Dobriyan1-4/+5
2024-07-05blk-lib: check for kill signal in ioctl BLKZEROOUTChristoph Hellwig1-1/+1
2024-05-21Merge tag 'pull-bd_flags-2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+4
2024-05-21Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-8/+6
2024-05-21Merge tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-9/+12
2024-05-13Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-6/+36
2024-05-07blk-lib: check for kill signal in ioctl BLKDISCARDChristoph Hellwig1-3/+30
2024-05-07block: move discard checks into the ioctl handlerChristoph Hellwig1-2/+5
2024-05-07block/ioctl: prefer different overflow checkJustin Stitt1-1/+1
2024-05-03blk_ioctl_{discard,zeroout}(): we only want ->bd_inode->i_mapping here...Al Viro1-6/+4
2024-05-03use ->bd_mapping instead of ->bd_inode->i_mappingAl Viro1-2/+2
2024-05-02bdev: move ->bd_read_only to ->__bd_flagsAl Viro1-1/+4
2024-05-02set_blocksize(): switch to passing struct file *Al Viro1-9/+12
2024-04-18block: propagate partition scanning errors to the BLKRRPART ioctlChristoph Hellwig1-1/+2
2024-04-02block: fix overflow in blk_ioctl_discard()Li Nan1-2/+3
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-1/+8
2024-03-11Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-5/+4
2024-03-06block: move capacity validation to blkpg_do_ioctl()Li Lingfeng1-1/+8
2024-02-25block/ioctl: port blkdev_bszset() to fileChristian Brauner1-5/+4
2024-01-22block: Move checking GENHD_FL_NO_PART to bdev_add_partition()Li Lingfeng1-2/+0
2023-12-13block: add check that partition length needs to be aligned with block sizeMin Li1-4/+7
2023-10-28fs: Avoid grabbing sb->s_umount under bdev->bd_holder_lockJan Kara1-2/+3
2023-10-28block: Use bdev_open_by_dev() in disk_scan_partitions() and blkdev_bszset()Jan Kara1-2/+4
2023-08-31block: don't add or resize partition on the disk with GENHD_FL_NO_PARTLi Lingfeng1-0/+2
2023-08-21block: call into the file system for ioctl BLKFLSBUFChristoph Hellwig1-1/+8
2023-06-20block: fine-granular CAP_SYS_ADMIN for Persistent ReservationJingbo Xu1-19/+22
2023-06-20block: disallow Persistent Reservation on partitionsJingbo Xu1-5/+17
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-30/+12
2023-06-12block: remove unused fmode_t arguments from ioctl handlersChristoph Hellwig1-7/+7
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-3/+2
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+2
2023-02-17block: fix scan partition for exclusively open device againYu Kuai1-1/+1
2023-02-17block: Revert "block: Do not reread partition table on exclusively open device"Yu Kuai1-7/+6
2022-12-01block: Do not reread partition table on exclusively open deviceJan Kara1-5/+7
2022-07-06block: replace blkdev_nr_zones with bdev_nr_zonesChristoph Hellwig1-1/+1
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-8/+35
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-2/+1
2022-04-17block: add a bdev_nonrot helperChristoph Hellwig1-1/+1
2022-04-15block/compat_ioctl: fix range check in BLKGETSIZEKhazhismel Kumykov1-1/+1
2021-11-29block: merge disk_scan_partitions and blkdev_reread_partChristoph Hellwig1-26/+5
2021-11-09block: Hold invalidate_lock in BLKZEROOUT ioctlShin'ichiro Kawasaki1-3/+9
2021-11-09block: Hold invalidate_lock in BLKDISCARD ioctlShin'ichiro Kawasaki1-3/+9
2021-10-19block/ioctl: use bdev_nr_sectors and bdev_nr_bytesChristoph Hellwig1-12/+8
2021-10-18block: merge block_ioctl into blkdev_ioctlChristoph Hellwig1-4/+14
2021-10-18block: unexport blkdev_ioctlChristoph Hellwig1-1/+0
2021-08-12block: pass a gendisk to bdev_resize_partitionChristoph Hellwig1-1/+1
2021-08-12block: pass a gendisk to bdev_del_partitionChristoph Hellwig1-1/+1
2021-08-12block: pass a gendisk to bdev_add_partitionChristoph Hellwig1-1/+2