index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
block
/
ioctl.c
Age
Commit message (
Expand
)
Author
Files
Lines
5 days
Merge tag 'pull-bd_flags-2' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-1
/
+4
5 days
Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-8
/
+6
5 days
Merge tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/g...
Linus Torvalds
1
-9
/
+12
13 days
Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linux
Linus Torvalds
1
-6
/
+36
2024-05-07
blk-lib: check for kill signal in ioctl BLKDISCARD
Christoph Hellwig
1
-3
/
+30
2024-05-07
block: move discard checks into the ioctl handler
Christoph Hellwig
1
-2
/
+5
2024-05-07
block/ioctl: prefer different overflow check
Justin Stitt
1
-1
/
+1
2024-05-03
blk_ioctl_{discard,zeroout}(): we only want ->bd_inode->i_mapping here...
Al Viro
1
-6
/
+4
2024-05-03
use ->bd_mapping instead of ->bd_inode->i_mapping
Al Viro
1
-2
/
+2
2024-05-02
bdev: move ->bd_read_only to ->__bd_flags
Al Viro
1
-1
/
+4
2024-05-02
set_blocksize(): switch to passing struct file *
Al Viro
1
-9
/
+12
2024-04-18
block: propagate partition scanning errors to the BLKRRPART ioctl
Christoph Hellwig
1
-1
/
+2
2024-04-02
block: fix overflow in blk_ioctl_discard()
Li Nan
1
-2
/
+3
2024-03-11
Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linux
Linus Torvalds
1
-1
/
+8
2024-03-11
Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...
Linus Torvalds
1
-5
/
+4
2024-03-06
block: move capacity validation to blkpg_do_ioctl()
Li Lingfeng
1
-1
/
+8
2024-02-25
block/ioctl: port blkdev_bszset() to file
Christian Brauner
1
-5
/
+4
2024-01-22
block: Move checking GENHD_FL_NO_PART to bdev_add_partition()
Li Lingfeng
1
-2
/
+0
2023-12-13
block: add check that partition length needs to be aligned with block size
Min Li
1
-4
/
+7
2023-10-28
fs: Avoid grabbing sb->s_umount under bdev->bd_holder_lock
Jan Kara
1
-2
/
+3
2023-10-28
block: Use bdev_open_by_dev() in disk_scan_partitions() and blkdev_bszset()
Jan Kara
1
-2
/
+4
2023-08-31
block: don't add or resize partition on the disk with GENHD_FL_NO_PART
Li Lingfeng
1
-0
/
+2
2023-08-21
block: call into the file system for ioctl BLKFLSBUF
Christoph Hellwig
1
-1
/
+8
2023-06-20
block: fine-granular CAP_SYS_ADMIN for Persistent Reservation
Jingbo Xu
1
-19
/
+22
2023-06-20
block: disallow Persistent Reservation on partitions
Jingbo Xu
1
-5
/
+17
2023-06-12
block: replace fmode_t with a block-specific type for block open flags
Christoph Hellwig
1
-30
/
+12
2023-06-12
block: remove unused fmode_t arguments from ioctl handlers
Christoph Hellwig
1
-7
/
+7
2023-06-12
block: use the holder as indication for exclusive opens
Christoph Hellwig
1
-3
/
+2
2023-06-05
block: introduce holder ops
Christoph Hellwig
1
-1
/
+2
2023-02-17
block: fix scan partition for exclusively open device again
Yu Kuai
1
-1
/
+1
2023-02-17
block: Revert "block: Do not reread partition table on exclusively open device"
Yu Kuai
1
-7
/
+6
2022-12-01
block: Do not reread partition table on exclusively open device
Jan Kara
1
-5
/
+7
2022-07-06
block: replace blkdev_nr_zones with bdev_nr_zones
Christoph Hellwig
1
-1
/
+1
2022-04-17
block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARD
Christoph Hellwig
1
-8
/
+35
2022-04-17
block: remove QUEUE_FLAG_DISCARD
Christoph Hellwig
1
-2
/
+1
2022-04-17
block: add a bdev_nonrot helper
Christoph Hellwig
1
-1
/
+1
2022-04-15
block/compat_ioctl: fix range check in BLKGETSIZE
Khazhismel Kumykov
1
-1
/
+1
2021-11-29
block: merge disk_scan_partitions and blkdev_reread_part
Christoph Hellwig
1
-26
/
+5
2021-11-09
block: Hold invalidate_lock in BLKZEROOUT ioctl
Shin'ichiro Kawasaki
1
-3
/
+9
2021-11-09
block: Hold invalidate_lock in BLKDISCARD ioctl
Shin'ichiro Kawasaki
1
-3
/
+9
2021-10-19
block/ioctl: use bdev_nr_sectors and bdev_nr_bytes
Christoph Hellwig
1
-12
/
+8
2021-10-18
block: merge block_ioctl into blkdev_ioctl
Christoph Hellwig
1
-4
/
+14
2021-10-18
block: unexport blkdev_ioctl
Christoph Hellwig
1
-1
/
+0
2021-08-12
block: pass a gendisk to bdev_resize_partition
Christoph Hellwig
1
-1
/
+1
2021-08-12
block: pass a gendisk to bdev_del_partition
Christoph Hellwig
1
-1
/
+1
2021-08-12
block: pass a gendisk to bdev_add_partition
Christoph Hellwig
1
-1
/
+2
2021-08-09
block: remove the bd_bdi in struct block_device
Christoph Hellwig
1
-3
/
+4
2021-08-02
block: add ioctl to read the disk sequence number
Matteo Croce
1
-0
/
+2
2021-06-01
block: move bd_part_count to struct gendisk
Christoph Hellwig
1
-1
/
+1
2021-04-21
block: return -EBUSY when there are open partitions in blkdev_reread_part
Christoph Hellwig
1
-0
/
+2
2021-02-23
block: reopen the device in blkdev_reread_part
Christoph Hellwig
1
-7
/
+14
2020-12-01
block: move the policy field to struct block_device
Christoph Hellwig
1
-1
/
+1
2020-12-01
block: remove i_bdev
Christoph Hellwig
1
-2
/
+1
2020-12-01
block: remove a superflous check in blkpg_do_ioctl
Christoph Hellwig
1
-9
/
+0
2020-11-16
block: remove __blkdev_driver_ioctl
Christoph Hellwig
1
-20
/
+5
2020-11-16
block: remove set_device_ro
Christoph Hellwig
1
-1
/
+1
2020-11-16
block: don't call into the driver for BLKROSET
Christoph Hellwig
1
-23
/
+0
2020-11-16
block: add a new set_read_only method
Christoph Hellwig
1
-0
/
+5
2020-11-16
block: don't call into the driver for BLKFLSBUF
Christoph Hellwig
1
-7
/
+0
2020-09-25
block: add a bdev_is_partition helper
Christoph Hellwig
1
-2
/
+2
2020-09-23
block: cleanup blkdev_bszset
Christoph Hellwig
1
-7
/
+6
2020-09-07
block: Do not discard buffers under a mounted filesystem
Jan Kara
1
-6
/
+10
2020-05-19
block: Fix type of first compat_put_{,u}long() argument
Bart Van Assche
1
-2
/
+2
2020-04-20
block: refactor blkpg_ioctl
Christoph Hellwig
1
-124
/
+26
2020-03-25
block: move block layer internals out of include/linux/genhd.h
Christoph Hellwig
1
-0
/
+1
2020-01-03
compat_ioctl: simplify up block/ioctl.c
Arnd Bergmann
1
-152
/
+117
2020-01-03
compat_ioctl: block: simplify compat_blkpg_ioctl()
Arnd Bergmann
1
-36
/
+38
2020-01-03
compat_ioctl: block: move blkdev_compat_ioctl() into ioctl.c
Arnd Bergmann
1
-0
/
+219
2020-01-03
compat_ioctl: block: add blkdev_compat_ptr_ioctl
Arnd Bergmann
1
-0
/
+21
2019-12-03
block: simplify blkdev_nr_zones
Christoph Hellwig
1
-1
/
+1
2019-11-14
block: remove (__)blkdev_reread_part as an exported API
Christoph Hellwig
1
-30
/
+5
2019-11-14
block: fix bdev_disk_changed for non-partitioned devices
Christoph Hellwig
1
-4
/
+2
2019-11-14
block: merge invalidate_partitions into rescan_partitions
Christoph Hellwig
1
-1
/
+1
2019-11-07
block: add zone open, close and finish ioctl support
Ajay Joshi
1
-1
/
+4
2019-04-30
block: add SPDX tags to block layer files missing licensing information
Christoph Hellwig
1
-0
/
+1
2018-10-25
block: Introduce BLKGETNRZONES ioctl
Damien Le Moal
1
-0
/
+2
2018-10-25
block: Introduce BLKGETZONESZ ioctl
Damien Le Moal
1
-0
/
+2
2018-02-23
block: pass inclusive 'lend' parameter to truncate_inode_pages_range
Ming Lei
1
-1
/
+1
2017-10-25
block: move CAP_SYS_ADMIN check in blkdev_roset()
Ilya Dryomov
1
-2
/
+3
2017-10-24
block: Invalidate cache on discard v2
Dmitry Monakhov
1
-4
/
+10
2017-04-08
block: remove the discard_zeroes_data flag
Christoph Hellwig
1
-1
/
+1
2017-04-08
block: add a flags argument to (__)blkdev_issue_zeroout
Christoph Hellwig
1
-1
/
+1
2017-02-02
block: Get rid of blk_get_backing_dev_info()
Jan Kara
1
-5
/
+2
2016-12-24
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
Linus Torvalds
1
-1
/
+1
2016-12-19
block: check partition alignment
Stefan Haberland
1
-0
/
+3
2016-10-18
blk-zoned: implement ioctls
Shaun Tancheff
1
-0
/
+4
2016-10-11
block: invalidate the page cache when issuing BLKZEROOUT
Darrick J. Wong
1
-6
/
+12
2016-05-26
Merge tag 'dax-misc-for-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-1
/
+0
2016-05-20
Revert "block: enable dax for raw block devices"
Dan Williams
1
-32
/
+0
2016-05-17
block: Update blkdev_dax_capable() for consistency
Toshi Kani
1
-30
/
+0
2016-04-04
mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros
Kirill A. Shutemov
1
-2
/
+2
2016-01-30
block: revert runtime dax control of the raw block device
Dan Williams
1
-38
/
+0
2016-01-22
wrappers for ->i_mutex access
Al Viro
1
-2
/
+2
2016-01-09
pmem, dax: disable dax in the presence of bad blocks
Dan Williams
1
-0
/
+10
2016-01-09
block: enable dax for raw block devices
Dan Williams
1
-0
/
+61
2015-10-21
block: add an API for Persistent Reservations
Christoph Hellwig
1
-0
/
+103
2015-10-21
block: cleanup blkdev_ioctl
Christoph Hellwig
1
-100
/
+127
2015-05-20
block: replace trylock with mutex_lock in blkdev_reread_part()
Ming Lei
1
-2
/
+7
2015-05-20
block: export blkdev_reread_part() and __blkdev_reread_part()
Jarod Wilson
1
-3
/
+25
2015-01-21
block: Add discard flag to blkdev_issue_zeroout() function
Martin K. Petersen
1
-1
/
+1
2014-09-08
block, bdi: an active gendisk always has a request_queue associated with it
Tejun Heo
1
-4
/
+0
2014-07-01
block: fix BLKSECTGET ioctl when max_sectors is greater than USHRT_MAX
Akinobu Mita
1
-1
/
+4
2013-11-08
block: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
Duan Jiong
1
-1
/
+1
2012-10-11
Merge branch 'for-3.7/core' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-0
/
+27
2012-09-20
block: ioctl to zero block ranges
Martin K. Petersen
1
-0
/
+27
2012-09-18
blk: add an upper sanity check on partition adding
Alan Cox
1
-1
/
+1
2012-08-01
block: add partition resize function to blkpg ioctl
Vivek Goyal
1
-3
/
+56
2012-01-15
Merge branch 'for-3.3/core' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-0
/
+2
2012-01-11
block: Add BLKROTATIONAL ioctl
Martin K. Petersen
1
-0
/
+2
2012-01-08
Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...
Linus Torvalds
1
-1
/
+1
2012-01-05
vfs: fix up ENOIOCTLCMD error handling
Linus Torvalds
1
-4
/
+22
2012-01-03
fs: move code out of buffer.c
Al Viro
1
-1
/
+1
2011-11-06
Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...
Linus Torvalds
1
-0
/
+1
2011-10-31
block: add export.h to files using EXPORT_SYMBOL/THIS_MODULE macros
Paul Gortmaker
1
-0
/
+1
2011-08-23
block: add GENHD_FL_NO_PART_SCAN
Tejun Heo
1
-1
/
+1
2011-02-24
block: fix refcounting in BLKBSZSET
Miklos Szeredi
1
-3
/
+5
2011-01-13
Merge branch 'for-2.6.38/core' of git://git.kernel.dk/linux-2.6-block
Linus Torvalds
1
-2
/
+3
2010-11-27
Merge branch 'cleanup-bd_claim' of git://git.kernel.org/pub/scm/linux/kernel/...
Jens Axboe
1
-2
/
+3
2010-11-17
BKL: remove extraneous #include <smp_lock.h>
Arnd Bergmann
1
-1
/
+0
2010-11-13
block: make blkdev_get/put() handle exclusive access
Tejun Heo
1
-2
/
+3
2010-11-10
block: ioctl: fix information leak to userland
Vasiliy Kulikov
1
-0
/
+1
2010-11-10
block: read i_size with i_size_read()
Mike Snitzer
1
-3
/
+3
2010-10-22
Merge branch 'for-2.6.37/barrier' of git://git.kernel.dk/linux-2.6-block
Linus Torvalds
1
-2
/
+2
2010-09-16
block: remove BLKDEV_IFL_WAIT
Christoph Hellwig
1
-2
/
+2
2010-09-15
block, partition: add partition_meta_info to hd_struct
Will Drewry
1
-1
/
+1
2010-08-12
block: add secure discard
Adrian Hunter
1
-5
/
+10
2010-08-07
block: remove BKL from partition ioctls
Arnd Bergmann
1
-4
/
+0
2010-08-07
block: remove BKL from BLKROSET and BLKFLSBUF
Arnd Bergmann
1
-4
/
+0
2010-08-07
block: push BKL into blktrace ioctls
Arnd Bergmann
1
-2
/
+0
2010-08-07
block: push down BKL into .locked_ioctl
Arnd Bergmann
1
-10
/
+1
2010-04-28
blkdev: generalize flags for blkdev_issue_fn functions
Dmitry Monakhov
1
-1
/
+1
2010-03-30
include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...
Tejun Heo
1
-0
/
+1
2009-12-03
block: Allow devices to indicate whether discarded blocks are zeroed
Martin K. Petersen
1
-0
/
+2
2009-10-03
block: Topology ioctls
Martin K. Petersen
1
-2
/
+15
2009-09-14
block: use blkdev_issue_discard in blk_ioctl_discard
Christoph Hellwig
1
-47
/
+2
2009-05-22
block: Use accessor functions for queue limits
Martin K. Petersen
1
-5
/
+5
2009-05-22
block: Do away with the notion of hardsect_size
Martin K. Petersen
1
-1
/
+1
2009-04-15
block: Remove code handling bio_alloc failure with __GFP_WAIT
Nikanth Karthikesan
1
-2
/
+0
2008-12-29
block: don't take lock on changing ra_pages
Wu Fengguang
1
-2
/
+0
2008-11-18
block: make add_partition() return pointer to hd_struct
Tejun Heo
1
-4
/
+3
2008-10-21
[PATCH] kill the rest of struct file propagation in block ioctls
Al Viro
1
-8
/
+1
2008-10-21
[PATCH] get rid of struct file use in blkdev_ioctl() BLKBSZSET
Al Viro
1
-2
/
+3
2008-10-21
[PATCH] get rid of blkdev_locked_ioctl()
Al Viro
1
-72
/
+70
2008-10-21
[PATCH] get rid of blkdev_driver_ioctl()
Al Viro
1
-19
/
+10
2008-10-21
[PATCH] end of methods switch: remove the old ones
Al Viro
1
-26
/
+0
2008-10-21
[PATCH] beginning of methods conversion
Al Viro
1
-9
/
+26
2008-10-21
[PATCH] introduce __blkdev_driver_ioctl()
Al Viro
1
-0
/
+31
2008-10-09
block: make partition array dynamic
Tejun Heo
1
-1
/
+1
2008-10-09
block: introduce partition 0
Tejun Heo
1
-2
/
+2
2008-10-09
block: fix disk->part[] dereferencing race
Tejun Heo
1
-10
/
+16
2008-10-09
block: don't depend on consecutive minor space
Tejun Heo
1
-3
/
+3
2008-10-09
block: make variable and argument names more consistent
Tejun Heo
1
-7
/
+8
2008-10-09
block: update add_partition() error handling
Tejun Heo
1
-5
/
+2
2008-10-09
block: allow deleting zero length partition
Tejun Heo
1
-2
/
+0
2008-10-09
Allow elevators to sort/merge discard requests
David Woodhouse
1
-1
/
+1
2008-10-09
Add BLKDISCARD ioctl to allow userspace to discard sectors
David Woodhouse
1
-0
/
+76
2008-07-25
block/ioctl.c and fs/partition/check.c: check value returned by add_partition()
Abdel Benamrouche
1
-2
/
+3
2007-10-10
compat_ioctl: move common block ioctls to compat_blkdev_ioctl
Arnd Bergmann
1
-17
/
+4
2007-05-07
mm: remove destroy_dirty_buffers from invalidate_bdev()
Peter Zijlstra
1
-2
/
+2
2007-02-20
[PATCH] lockdep: annotate BLKPG_DEL_PARTITION
Peter Zijlstra
1
-1
/
+1
2007-02-10
[PARTITION]: Add whole_disk attribute.
Fabio Massimo Di Nitto
1
-1
/
+1
2006-12-08
[PATCH] struct path: convert block
Josef Sipek
1
-1
/
+1
2006-12-08
[PATCH] remove the old bd_mutex lockdep annotation
Peter Zijlstra
1
-2
/
+2
2006-10-03
[PATCH] dm: export blkdev_driver_ioctl
Alasdair G Kergon
1
-2
/
+3
2006-07-14
[PATCH] lockdep: annotate the BLKPG_DEL_PARTITION ioctl
Arjan van de Ven
1
-2
/
+2
2006-03-23
[PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23
Jens Axboe
1
-0
/
+6
2006-03-23
[PATCH] sem2mutex: blockdev #2
Arjan van de Ven
1
-11
/
+11
2006-01-11
[PATCH] move capable() to capability.h
Randy.Dunlap
1
-1
/
+1
2006-01-08
[PATCH] Add block_device_operations.getgeo block device method
Christoph Hellwig
1
-0
/
+22
2005-11-04
[BLOCK] Move all core block layer code to new block/ directory
Jens Axboe
1
-0
/
+275