aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/genhd.h
AgeCommit message (Expand)AuthorFilesLines
2022-02-02block: remove genhd.hChristoph Hellwig1-287/+0
2022-02-02block: move blk_drop_partitions to blk.hChristoph Hellwig1-1/+0
2022-02-02block: move disk_{block,unblock,flush}_events to blk.hChristoph Hellwig1-3/+0
2021-11-29block: cleanup the GENHD_FL_* definitionsChristoph Hellwig1-18/+14
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-23/+5
2021-11-29block: remove GENHD_FL_SUPPRESS_PARTITION_INFOChristoph Hellwig1-8/+1
2021-11-29block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PARTChristoph Hellwig1-7/+6
2021-11-29block: remove GENHD_FL_CDChristoph Hellwig1-5/+0
2021-11-29block: move GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE to disk->event_flagsChristoph Hellwig1-4/+2
2021-11-29block: move GENHD_FL_NATIVE_CAPACITY to disk->stateChristoph Hellwig1-7/+1
2021-11-09block: add __must_check for *add_disk*() callersLuis Chamberlain1-3/+3
2021-11-09Merge tag 'for-5.16/bdev-size-2021-11-09' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2021-11-04block: add a loff_t cast to bdev_nr_bytesChristoph Hellwig1-1/+1
2021-11-01Merge tag 'for-5.16/bdev-size-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+12
2021-10-21block: Add invalidate_disk() helper to invalidate the gendiskXie Yongji1-0/+2
2021-10-19block: move bdev_read_only() into the headerJens Axboe1-0/+5
2021-10-18block: cache inode size in bdevJens Axboe1-4/+4
2021-10-18block: add a sb_bdev_nr_blocks helperChristoph Hellwig1-0/+6
2021-10-18block: add a bdev_nr_bytes helperChristoph Hellwig1-1/+6
2021-10-18block: move the *blkdev_ioctl declarations out of blkdev.hChristoph Hellwig1-4/+0
2021-10-18block: drop unused includes in <linux/genhd.h>Christoph Hellwig1-12/+2
2021-10-15block: drain file system I/O on del_gendiskChristoph Hellwig1-0/+1
2021-08-23block: add error handling for device_add_disk / add_diskLuis Chamberlain1-4/+4
2021-08-23block: hold a request_queue reference for the lifetime of struct gendiskChristoph Hellwig1-1/+0
2021-08-23block: pass a request_queue to __blk_alloc_diskChristoph Hellwig1-1/+2
2021-08-23block: remove the minors argument to __alloc_disk_nodeChristoph Hellwig1-2/+1
2021-08-23block: remove alloc_disk and alloc_disk_nodeChristoph Hellwig1-10/+0
2021-08-23block: cleanup the lockdep handling in *alloc_diskChristoph Hellwig1-17/+6
2021-08-12block: remove GENHD_FL_UPChristoph Hellwig1-4/+5
2021-08-09block: move the bdi from the request_queue to the gendiskChristoph Hellwig1-0/+1
2021-08-09block: remove support for delayed queue registrationsChristoph Hellwig1-6/+0
2021-08-09block: support delayed holder registrationChristoph Hellwig1-0/+5
2021-08-09block: look up holders by bdevChristoph Hellwig1-1/+3
2021-08-09block: make the block holder code optionalChristoph Hellwig1-2/+2
2021-08-02block: add a helper to raise a media changed eventMatteo Croce1-0/+1
2021-08-02block: add disk sequence numberMatteo Croce1-0/+2
2021-06-24block: pass a gendisk to bdev_disk_changedChristoph Hellwig1-1/+1
2021-06-24block: move bdev_disk_changedChristoph Hellwig1-1/+0
2021-06-01block: remove bdget_diskChristoph Hellwig1-1/+0
2021-06-01block: factor out a part_devt helperChristoph Hellwig1-0/+1
2021-06-01block: move bd_part_count to struct gendiskChristoph Hellwig1-0/+1
2021-06-01block: move bd_mutex to struct gendiskChristoph Hellwig1-0/+3
2021-06-01block: add blk_alloc_disk and blk_cleanup_disk APIsChristoph Hellwig1-0/+22
2021-06-01block: add a flag to make put_disk on partially initalized disks saferChristoph Hellwig1-0/+1
2021-05-20block: prevent block device lookups at the beginning of del_gendiskChristoph Hellwig1-2/+0
2021-04-08block: remove disk_part_iterChristoph Hellwig1-19/+0
2021-04-08block: refactor blk_drop_partitionsChristoph Hellwig1-1/+1
2021-01-24block: use an xarray for disk->part_tblChristoph Hellwig1-15/+3
2021-01-24block: remove DISK_PITER_REVERSEChristoph Hellwig1-1/+0
2021-01-24block: add a disk_uevent helperChristoph Hellwig1-0/+2
2021-01-24block: add a hard-readonly flag to struct gendiskChristoph Hellwig1-2/+4
2020-12-01block: merge struct block_device and struct hd_structChristoph Hellwig1-31/+9
2020-12-01block: switch disk_part_iter_* to use a struct block_deviceChristoph Hellwig1-2/+2
2020-12-01block: remove the partno field from struct hd_structChristoph Hellwig1-1/+0
2020-12-01block: switch partition lookup to use struct block_deviceChristoph Hellwig1-2/+2
2020-12-01block: allocate struct hd_struct as part of struct bdev_inodeChristoph Hellwig1-8/+6
2020-12-01block: move the policy field to struct block_deviceChristoph Hellwig1-2/+2
2020-12-01block: move make_it_fail to struct block_deviceChristoph Hellwig1-3/+0
2020-12-01block: move holder_dir to struct block_deviceChristoph Hellwig1-1/+0
2020-12-01block: move the partition_meta_info to struct block_deviceChristoph Hellwig1-1/+0
2020-12-01block: move the start_sect field to struct block_deviceChristoph Hellwig1-2/+1
2020-12-01block: move disk stat accounting to struct block_deviceChristoph Hellwig1-2/+0
2020-12-01block: remove the nr_sects field in struct hd_structChristoph Hellwig1-22/+7
2020-12-01block: simplify part_to_diskChristoph Hellwig1-7/+3
2020-12-01block: simplify bdev/disk lookup in blkdev_getChristoph Hellwig1-3/+4
2020-12-01init: refactor name_to_dev_tChristoph Hellwig1-6/+1
2020-12-01block: remove a duplicate __disk_get_part prototypeChristoph Hellwig1-1/+0
2020-11-16block: remove the update_bdev parameter to set_capacity_revalidate_and_notifyChristoph Hellwig1-2/+1
2020-11-16block: switch gendisk lookup to a simple xarrayChristoph Hellwig1-7/+0
2020-11-16block: add an optional probe callback to major_namesChristoph Hellwig1-1/+4
2020-11-16block: remove set_device_roChristoph Hellwig1-1/+0
2020-11-12block: add a return value to set_capacity_revalidate_and_notifyChristoph Hellwig1-1/+1
2020-09-23block: move the NEED_PART_SCAN flag to struct gendiskChristoph Hellwig1-0/+2
2020-09-10block: remove check_disk_changeChristoph Hellwig1-1/+0
2020-09-10block: add a bdev_check_media_change helperChristoph Hellwig1-1/+1
2020-09-02block: remove revalidate_disk()Christoph Hellwig1-1/+0
2020-09-02block: use revalidate_disk_size in set_capacity_revalidate_and_notifyChristoph Hellwig1-2/+2
2020-09-02block: add a new revalidate_disk_size helperChristoph Hellwig1-0/+1
2020-09-01block: remove the discard_alignment field from struct hd_structChristoph Hellwig1-1/+0
2020-09-01block: remove the alignment_offset field from struct hd_structChristoph Hellwig1-1/+0
2020-09-01block: replace bd_set_size with bd_set_nr_sectorsChristoph Hellwig1-1/+1
2020-07-17blk-cgroup: show global disk stats in root cgroup io.statBoris Burkov1-0/+1
2020-06-24block: reduce ifdef CONFIG_BLOCK madness in headersChristoph Hellwig1-8/+6
2020-06-24block: move block-related definitions out of fs.hChristoph Hellwig1-0/+27
2020-06-02Merge tag 'for-5.8/drivers-2020-06-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+0
2020-05-27block: always use a percpu variable for disk statsChristoph Hellwig1-13/+0
2020-05-27block: always define struct blk_integrity in genhd.hMax Gurtovoy1-4/+0
2020-05-12block: re-organize fields of 'struct hd_part'Ming Lei1-7/+8
2020-05-12block: only define 'nr_sects_seq' in hd_part for 32bit SMPMing Lei1-0/+9
2020-05-04block: add a cdrom_device_info pointer to struct gendiskChristoph Hellwig1-0/+9
2020-04-20block: remove the disk argument from blk_drop_partitionsChristoph Hellwig1-1/+1
2020-03-30Merge tag 'for-5.7/block-2020-03-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-462/+61
2020-03-27block: move the ->devnode callback to struct block_device_operationsChristoph Hellwig1-1/+0
2020-03-25block: move the part_stat* helpers from genhd.h to a new headerChristoph Hellwig1-108/+0
2020-03-25block: move block layer internals out of include/linux/genhd.hChristoph Hellwig1-120/+0
2020-03-25block: mark part_in_flight and part_in_flight_rw staticChristoph Hellwig1-3/+0
2020-03-25block: mark block_depr staticChristoph Hellwig1-1/+0
2020-03-25block/diskstats: replace time_in_queue with sum of request timesKonstantin Khlebnikov1-1/+0
2020-03-25block/diskstats: accumulate all per-cpu counters in one passKonstantin Khlebnikov1-3/+0
2020-03-25block/diskstats: more accurate approximation of io_ticks for slow disksKonstantin Khlebnikov1-1/+1
2020-03-24block: move the various x86 Unix label formats out of genhd.hChristoph Hellwig1-143/+0
2020-03-24block: move the *_PARTITION enum out of genhd.hChristoph Hellwig1-30/+0
2020-03-24block: move struct partition out of genhd.hChristoph Hellwig1-13/+0
2020-03-24block: remove alloc_part_info and free_part_infoChristoph Hellwig1-14/+1
2020-03-24block: move sysfs methods shared by disks and partitions to genhd.cChristoph Hellwig1-14/+0
2020-03-18block/genhd: Notify udev about capacity changeBalbir Singh1-0/+2
2020-03-12block: Fix partition support for host aware zoned block devicesShin'ichiro Kawasaki1-12/+1
2020-03-12block: Document genhd capability flagsStephen Kitt1-11/+58
2020-01-28Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+3
2020-01-26block: allow partitions on host aware zone devicesChristoph Hellwig1-0/+12
2019-12-08sched/rt, fs: Use CONFIG_PREEMPTIONThomas Gleixner1-3/+3
2019-11-14block: fix bdev_disk_changed for non-partitioned devicesChristoph Hellwig1-0/+1
2019-11-14block: move rescan_partitions to fs/block_dev.cChristoph Hellwig1-2/+2
2019-11-14block: merge invalidate_partitions into rescan_partitionsChristoph Hellwig1-2/+2
2019-04-22block: fix use-after-free on gendiskYufen Yu1-0/+1
2019-04-12block: disk_events: introduce event flagsMartin Wilck1-1/+9
2019-04-12block: genhd: remove async_events fieldMartin Wilck1-1/+0
2019-04-06block: remove CONFIG_LBDAFChristoph Hellwig1-4/+4
2018-12-10block: return just one value from part_in_flightMikulas Patocka1-2/+1
2018-12-10block: switch to per-cpu in-flight countersMikulas Patocka1-7/+22
2018-12-10block: delete part_round_stats and switch to less precise countingMikulas Patocka1-2/+1
2018-12-10block: stop passing 'cpu' to all percpu stats methodsMike Snitzer1-13/+13
2018-11-28block: use rcu_work instead of call_rcu to avoid sleep in softirqYufen Yu1-1/+1
2018-10-01Merge tag 'v4.19-rc6' into for-4.20/blockJens Axboe1-1/+4
2018-09-28block: genhd: add 'groups' argument to device_add_diskHannes Reinecke1-2/+3
2018-09-21block: use nanosecond resolution for iostatOmar Sandoval1-1/+4
2018-07-18block: Track DISCARD statistics and output them in stat and diskstatMichael Callahan1-1/+2
2018-07-18block: Define and use STAT_READ and STAT_WRITEMichael Callahan1-6/+7
2018-07-18block: Add part_stat_read_accum to read across field entries.Michael Callahan1-0/+4
2018-04-26blk-mq: fix sysfs inflight counterOmar Sandoval1-1/+3
2018-02-26genhd: Fix BUG in blkdev_open()Jan Kara1-0/+1
2018-02-26genhd: Add helper put_disk_and_module()Jan Kara1-0/+1
2018-02-26genhd: Rename get_disk() to get_disk_and_module()Jan Kara1-1/+1
2018-01-15block: allow gendisk's request_queue registration to be deferredMike Snitzer1-0/+5
2017-11-14Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+3
2017-11-10fs: guard_bio_eod() needs to consider partitionsGreg Edwards1-0/+1
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-0/+1
2017-11-03block: introduce GENHD_FL_HIDDENChristoph Hellwig1-0/+1
2017-11-03block: don't look at the struct device dev_t in disk_devtChristoph Hellwig1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-26block, locking/lockdep: Assign a lock_class per gendisk used for wait_for_com...Byungchul Park1-2/+20
2017-08-09blk-mq: provide internal in-flight variantJens Axboe1-29/+6
2017-08-09block: make part_in_flight() take an array of two intsJens Axboe1-3/+10
2017-08-09block: pass in queue to inflight accountingJens Axboe1-5/+9
2017-06-05block: remove blk_part_pack_uuidChristoph Hellwig1-11/+0
2017-04-21block: get rid of blk_integrity_revalidate()Ilya Dryomov1-2/+0
2017-03-24block: constify struct blk_integrity_profileEric Biggers1-5/+5
2017-03-08Revert "scsi, block: fix duplicate bdi name registration crashes"Jan Kara1-8/+0
2017-02-02scsi, block: fix duplicate bdi name registration crashesDan Williams1-0/+8
2016-12-22genhd: remove dead and duplicated scsi codeJon Derrick1-9/+0
2016-10-10latent_entropy: Mark functions with __latent_entropyEmese Revfy1-1/+1
2016-06-27block: remove ->driverfs_devDan Williams1-3/+1
2016-06-15block: introduce device_add_disk()Dan Williams1-1/+7
2016-05-20include/linux/genhd.h: move to use generic UUID libraryAndy Shevchenko1-20/+3
2016-01-09block: kill disk_{check|set|clear|alloc}_badblocksDan Williams1-5/+0
2016-01-09block: Add badblock management for gendisksVishal Verma1-0/+7
2015-10-21block: move blk_integrity to request_queueDan Williams1-1/+0
2015-10-21block: Inline blk_integrity in struct gendiskMartin K. Petersen1-2/+24
2015-10-21block: Move integrity kobject to struct gendiskMartin K. Petersen1-0/+1
2015-07-17block: partition: convert percpu refMing Lei1-10/+17
2015-07-17block: partition: introduce hd_free_part()Ming Lei1-0/+6
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-1/+1
2013-02-26block: fix part_pack_uuid() build errorMimi Zohar1-0/+10
2012-11-23block: store partition_meta_info.uuid as a stringStephen Warren1-2/+6
2012-08-01Merge branch 'for-3.6/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+57
2012-08-01block: add partition resize function to blkpg ioctlVivek Goyal1-0/+57
2012-07-16driver-core: Move kobj_to_dev from genhd.h to device.hLars-Peter Clausen1-1/+0
2012-05-15block: fix buffer overflow when printing partition UUIDsTejun Heo1-6/+0
2012-03-02block: Fix NULL pointer dereference in sd_revalidate_diskJun'ichi Nomura1-0/+1
2012-01-03switch device_get_devnode() and ->devnode() to umode_t *Al Viro1-1/+1
2011-11-10block: Revert "[SCSI] genhd: add a new attribute "alias" in gendisk"Tejun Heo1-4/+0
2011-11-04Merge branch 'for-3.2/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+4
2011-08-29[SCSI] genhd: add a new attribute "alias" in gendiskNao Nishijima1-0/+4
2011-08-23block: add GENHD_FL_NO_PART_SCANTejun Heo1-2/+4
2011-07-01block: flush MEDIA_CHANGE from drivers on close(2)Tejun Heo1-1/+1
2011-05-30Revert "block: Remove extra discard_alignment from hd_struct."Jens Axboe1-0/+1
2011-05-06block: Remove extra discard_alignment from hd_struct.Tao Ma1-1/+0
2011-04-21block: don't block events on excl write for non-optical devicesTejun Heo1-0/+1
2011-03-22block: fix non-atomic access to genhd inflight structuresShaohua Li1-6/+6
2011-01-13Merge branch 'for-2.6.38/event-handling' into for-2.6.38/coreJens Axboe1-3/+17
2011-01-07block: add internal hd part table referencesJens Axboe1-2/+25
2011-01-05block: fix accounting bug on cross partition mergesJerome Marchand1-0/+2
2010-12-16implement in-kernel gendisk events handlingTejun Heo1-1/+17
2010-12-16block: move register_disk() and del_gendisk() to block/genhd.cTejun Heo1-1/+0
2010-12-16block: kill genhd_media_change_notify()Tejun Heo1-1/+0
2010-10-24Revert "block: fix accounting bug on cross partition merges"Jens Axboe1-1/+0
2010-10-22Merge branch 'for-2.6.37/core' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-2/+52
2010-10-19block: fix accounting bug on cross partition mergesYasuaki Ishimatsu1-0/+1
2010-09-15block, partition: add partition_meta_info to hd_structWill Drewry1-2/+51
2010-08-19kernel: __rcu annotationsArnd Bergmann1-3/+3
2010-03-16Remove GENHD_FL_DRIVERFSNeilBrown1-1/+1
2010-02-17percpu: add __percpu sparse annotations to core kernel subsystemsTejun Heo1-1/+1
2010-01-11genhd: overlapping variable definitionStephen Hemminger1-3/+3
2009-11-10block: Expose discard granularityMartin K. Petersen1-0/+1
2009-10-06block: Seperate read and write statistics of in_flight requests v2Nikanth Karthikesan1-7/+14
2009-10-04Revert "Seperate read and write statistics of in_flight requests"Jens Axboe1-14/+7
2009-09-22const: make block_device_operations constAlexey Dobriyan1-1/+1
2009-09-19Driver-Core: extend devnode callbacks to provide permissionsKay Sievers1-1/+1
2009-09-14Seperate read and write statistics of in_flight requestsNikanth Karthikesan1-7/+14
2009-06-15Driver Core: block: add nodename support for block drivers.Kay Sievers1-1/+1