aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/virtio_blk.c
AgeCommit message (Expand)AuthorFilesLines
4 daysMerge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+0
5 daysvirtio_blk: drop owner assignmentKrzysztof Kozlowski1-1/+0
2024-04-17block: Simplify blk_revalidate_disk_zones() interfaceDamien Le Moal1-1/+1
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-148/+155
2024-03-06virtio_blk: Do not use disk_set_max_open/active_zones()Damien Le Moal1-2/+2
2024-02-13virtio_blk: pass queue_limits to blk_mq_alloc_diskChristoph Hellwig1-66/+64
2024-02-13virtio_blk: split virtblk_probeChristoph Hellwig1-92/+101
2024-02-13block: pass a queue_limits argument to blk_mq_alloc_diskChristoph Hellwig1-1/+1
2024-02-08virtio-blk: Ensure no requests in virtqueues before deleting vqs.Yi Sun1-3/+4
2024-01-18Merge tag 'for-6.8/block-2024-01-18' of git://git.kernel.dk/linuxLinus Torvalds1-2/+0
2024-01-15virtio_blk: remove duplicate check if queue is broken in virtblk_doneLi RongQing1-2/+0
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-55/+23
2023-12-19block: simplify disk_set_zonedChristoph Hellwig1-1/+1
2023-12-19block: remove support for the host aware zone modelChristoph Hellwig1-1/+1
2023-12-19virtio_blk: remove the broken zone revalidation supportChristoph Hellwig1-26/+0
2023-12-19virtio_blk: cleanup zoned device probingChristoph Hellwig1-28/+22
2023-12-04virtio_blk: fix snprintf truncation compiler warningStefan Hajnoczi1-4/+4
2023-11-05Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+3
2023-11-01virtio-blk: fix implicit overflow on virtio_max_dma_sizezhenwei pi1-1/+3
2023-09-22blk-mq: update driver tags request table when start requestChengming Zhou1-2/+0
2023-07-11Merge branch '6.5/scsi-staging' into 6.5/scsi-fixesMartin K. Petersen1-19/+15
2023-07-05scsi: block: virtio_blk: Set zone limits before revalidating zonesDamien Le Moal1-19/+15
2023-06-21Revert "virtio-blk: support completion batching for the IRQ path"Michael S. Tsirkin1-45/+37
2023-04-04virtio-blk: fix ZBD probe in kernels without ZBD supportDmitry Fomichev1-16/+17
2023-04-04virtio-blk: fix to match virtio specDmitry Fomichev1-81/+157
2023-02-25Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-54/+414
2023-02-20virtio-blk: support completion batching for the IRQ pathSuwan Kim1-37/+45
2023-02-20virtio-blk: set req->state to MQ_RQ_COMPLETE after polling I/O is finishedSuwan Kim1-2/+3
2023-02-15virtio_blk: zone append in header type tweakMichael S. Tsirkin1-1/+1
2023-02-15virtio_blk: temporary variable type tweakMichael S. Tsirkin1-1/+1
2023-02-15virtio-blk: add support for zoned block devicesDmitry Fomichev1-18/+369
2023-02-03virtio_blk: use bvec_set_virt to initialize special_vecChristoph Hellwig1-3/+1
2022-12-28virtio_blk: Fix signedness bug in virtblk_prep_rq()Rafael Mendonca1-2/+4
2022-12-28virtio_blk: use UINT_MAX instead of -1UAngus Chen1-1/+1
2022-12-28virtio-blk: use a helper to handle request queuing errorsDmitry Fomichev1-13/+16
2022-11-30virtio-blk: replace ida_simple[get|remove] with ida_[alloc_range|free]Pankaj Raghav1-4/+4
2022-10-10Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-18/+92
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-3/+1
2022-10-07virtio_blk: add SECURE ERASE command supportAlvaro Karsz1-18/+92
2022-09-27virtio-blk: Fix WARN_ON_ONCE in virtio_queue_rq()Suwan Kim1-6/+5
2022-08-22block: Change the return type of blk_mq_map_queues() into voidBart Van Assche1-3/+1
2022-08-12Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-14/+10
2022-08-11virtio-blk: Avoid use-after-free on suspend/resumeShigeru Yoshida1-14/+10
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-1/+1
2022-06-28block: simplify disk shutdownChristoph Hellwig1-1/+0
2022-05-31virtio-blk: support mq_ops->queue_rqs()Suwan Kim1-16/+98
2022-05-31virtio-blk: support polling I/OSuwan Kim1-3/+103
2022-05-03virtio_blk: fix the discard_granularity and discard_alignment queue limitsChristoph Hellwig1-3/+4
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-2/+0
2022-03-21Merge tag 'for-5.18/drivers-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+4
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-52/+14
2022-03-17virtio_blk: eliminate anonymous module_init & module_exitRandy Dunlap1-4/+4
2022-03-06virtio-blk: Remove BUG_ON() in virtio_queue_rq()Xie Yongji1-10/+2
2022-03-06virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zeroXie Yongji1-2/+8
2022-02-16virtio_blk: simplify refcountingChristoph Hellwig1-52/+14
2022-01-18Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-2/+2
2022-01-14virtio: wrap config->reset callsMichael S. Tsirkin1-2/+2
2021-11-29block: remove the gendisk argument to blk_execute_rqChristoph Hellwig1-1/+1
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-1/+0
2021-11-24virtio-blk: modify the value type of num in virtio_queue_rq()Ye Guojin1-1/+1
2021-11-24Revert "virtio-blk: don't let virtio core to validate used length"Michael S. Tsirkin1-1/+0
2021-11-03Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-59/+119
2021-11-01Merge tag 'for-5.16/passthrough-flag-2021-10-29' of git://git.kernel.dk/linux...Linus Torvalds1-2/+2
2021-11-01virtio-blk: don't let virtio core to validate used lengthJason Wang1-0/+1
2021-11-01virtio_blk: correct types for status handlingMichael S. Tsirkin1-6/+8
2021-11-01virtio_blk: allow 0 as num_request_queuesMichael S. Tsirkin1-13/+1
2021-11-01virtio-blk: fixup coccinelle warningsYe Guojin1-1/+1
2021-11-01virtio_blk: Fix spelling mistake: "advertisted" -> "advertised"Colin Ian King1-1/+1
2021-11-01virtio-blk: validate num_queues during probeJason Wang1-0/+4
2021-11-01virtio-blk: add num_request_queues module parameterMax Gurtovoy1-1/+22
2021-11-01virtio-blk: avoid preallocating big SGL for dataMax Gurtovoy1-56/+100
2021-10-29block: remove blk_{get,put}_requestChristoph Hellwig1-2/+2
2021-10-27virtio-blk: Use blk_validate_block_size() to validate block sizeXie Yongji1-2/+10
2021-10-13Revert "virtio-blk: Add validation for block size in config space"Michael S. Tsirkin1-31/+6
2021-09-11Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-2/+2
2021-09-06virtio-blk: remove unneeded "likely" statementsMax Gurtovoy1-2/+2
2021-08-30Merge tag 'for-5.15/block-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds1-8/+8
2021-08-23virtio_blk: add error handling support for add_disk()Luis Chamberlain1-1/+6
2021-08-16virtio_blk: use bvec_virtChristoph Hellwig1-5/+2
2021-08-11virtio-blk: Add validation for block size in config spaceXie Yongji1-6/+33
2021-07-03virtio-blk: limit seg_max to a safe valueStefan Hajnoczi1-1/+7
2021-07-03virtio-blk: Fix memory leak among suspend/resume procedureXie Yongji1-0/+2
2021-07-03virtio_blk: cleanups: remove check obsoleted by CONFIG_LBDAF removalSohaib1-7/+0
2021-06-11virtio-blk: use blk_mq_alloc_diskChristoph Hellwig1-19/+7
2021-02-25Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-4/+7
2021-02-23virtio-blk: support per-device queue depthJoseph Qi1-4/+7
2021-01-24block: remove unnecessary argument from blk_execute_rqGuoqing Jiang1-1/+1
2020-11-16virtio-blk: remove a spurious call to revalidate_disk_sizeChristoph Hellwig1-1/+0
2020-11-16block: remove the update_bdev parameter to set_capacity_revalidate_and_notifyChristoph Hellwig1-1/+1
2020-09-02block: add a new revalidate_disk_size helperChristoph Hellwig1-1/+1
2020-09-01virtio-blk: Use kobj_to_dev() instead of container_of()Tian Tao1-1/+1
2020-08-17block: virtio_blk: fix handling single range discard requestMing Lei1-8/+23
2020-08-03Merge tag 'for-5.9/block-20200802' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+2
2020-06-30virtio-blk: free vblk-vqs in error path of virtblk_probe()Hou Tao1-0/+1
2020-06-24blk-mq: move failure injection out of blk_mq_complete_requestChristoph Hellwig1-1/+2
2020-05-02virtio-blk: handle block_device_operations callbacks after hot unplugStefan Hajnoczi1-8/+78
2020-04-17virtio_blk: add a missing includeMichael S. Tsirkin1-0/+1
2020-03-30Merge tag 'for-5.7/block-2020-03-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+1
2020-03-18virtio_blk.c: Convert to use set_capacity_revalidate_and_notifyBalbir Singh1-4/+1
2020-03-08virtio-blk: improve virtqueue error to BLK_STSHalil Pasic1-2/+7
2020-03-08virtio-blk: fix hw_queue stopped on arbitrary errorHalil Pasic1-3/+5
2020-02-06virtio-blk: remove VIRTIO_BLK_F_SCSI supportChristoph Hellwig1-114/+1
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-04-22Merge tag 'v5.1-rc6' into for-5.2/blockJens Axboe1-0/+2
2019-04-10virtio-blk: limit number of hw queues by nr_cpu_idsDongli Zhang1-0/+2
2019-04-08virtio_blk: replace 0 by HCTX_TYPE_DEFAULT to index blk_mq_tag_set->mapDongli Zhang1-1/+2
2019-03-06virtio-blk: Consider virtio_max_dma_size() for maximum segment sizeJoerg Roedel1-4/+6
2019-01-02Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-2/+81
2018-12-19virtio_blk: add discard and write zeroes supportChangpeng Liu1-2/+81
2018-11-29virtio_blk: implement mq_ops->commit_rqs() hookJens Axboe1-0/+15
2018-11-07blk-mq: abstract out queue mapJens Axboe1-1/+1
2018-09-28virtio-blk: modernize sysfs attribute creationHannes Reinecke1-29/+39
2018-09-28block: genhd: add 'groups' argument to device_add_diskHannes Reinecke1-1/+1
2018-05-24block drivers/block: Use octal not symbolic permissionsJoe Perches1-3/+3
2018-05-14block: sanitize blk_get_request calling conventionsChristoph Hellwig1-1/+1
2018-02-08Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-17/+15
2018-02-01virtio_blk: print capacity at probe timeStefan Hajnoczi1-17/+15
2018-01-30blk-mq: introduce BLK_STS_DEV_RESOURCEMing Lei1-1/+1
2017-10-27virtio_blk: Fix an SG_IO regressionBart Van Assche1-0/+12
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2017-08-25virtio_blk: fix incorrect message when disk is resizedStefan Hajnoczi1-6/+10
2017-08-18virtio_blk: Use blk_rq_is_scsi()Bart Van Assche1-1/+1
2017-07-25virtio_blk: Use sysfs_match_string() helperAndy Shevchenko1-5/+2
2017-07-06virtio_blk: quiesce/unquiesce live IO when entering PM statesSagi Grimberg1-2/+2
2017-06-27blk-mq: don't bounce by defaultChristoph Hellwig1-3/+0
2017-06-09blk-mq: switch ->queue_rq return value to blk_status_tChristoph Hellwig1-5/+5
2017-06-09block: introduce new block status code typeChristoph Hellwig1-5/+5
2017-05-10Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-2/+1
2017-05-02virtio: wrap find_vqsMichael S. Tsirkin1-2/+1
2017-05-02blk-mq: update ->init_request and ->exit_request prototypesChristoph Hellwig1-4/+3
2017-04-20blk-mq: remove the error argument to blk_mq_complete_requestChristoph Hellwig1-1/+1
2017-04-20scsi: introduce a result field in struct scsi_requestChristoph Hellwig1-1/+1
2017-04-20virtio_blk: don't use req->errorsChristoph Hellwig1-7/+3
2017-04-20virtio: fix spelling of virtblk_scsi_request_doneChristoph Hellwig1-3/+3
2017-04-20block: remove the blk_execute_rq return valueChristoph Hellwig1-1/+2
2017-03-31blk-mq: constify struct blk_mq_opsEric Biggers1-1/+1
2017-03-02Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+13
2017-02-27virtio_blk: use virtio IRQ affinityChristoph Hellwig1-1/+12
2017-02-27virtio: allow drivers to request IRQ affinity when creating VQsChristoph Hellwig1-1/+2
2017-02-21Merge tag 'for-4.11/linus-merge-signed' of git://git.kernel.dk/linux-blockLinus Torvalds1-79/+126
2017-02-20Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2017-01-31block: fold cmd_type into the REQ_OP_ spaceChristoph Hellwig1-31/+30
2017-01-31virtio_blk: make SCSI passthrough support configurableChristoph Hellwig1-49/+94
2017-01-31virtio_blk: remove struct request backpointer from virtblk_reqChristoph Hellwig1-10/+10
2017-01-27block: split scsi_request out of struct requestChristoph Hellwig1-4/+7
2017-01-14locking/atomic, kref: Add kref_read()Peter Zijlstra1-1/+1
2017-01-10virtio_blk: fix panic in initialization error pathOmar Sandoval1-1/+2
2017-01-10virtio_blk: avoid DMA to stack for the sense bufferChristoph Hellwig1-1/+3
2016-10-31virtio_blk: Delete an unnecessary initialisation in init_vq()Markus Elfring1-1/+1
2016-10-31virtio_blk: Use kmalloc_array() in init_vq()Markus Elfring1-4/+4
2016-09-15blk-mq: remove ->map_queueChristoph Hellwig1-1/+0
2016-08-09virtio_blk: Fix a slient kernel panicMinfei Huang1-18/+8
2016-07-20block: ensure bios return from blk_get_request are properly initializedChristoph Hellwig1-1/+0
2016-07-20virtio_blk: use blk_rq_map_kernChristoph Hellwig1-12/+10
2016-06-27block: convert to device_add_disk()Dan Williams1-2/+1
2016-06-07block, drivers: add REQ_OP_FLUSH operationMike Christie1-1/+1
2016-04-12virtio_blk: switch to using blk_queue_write_cache()Jens Axboe1-5/+1
2016-03-02virtio_blk: VIRTIO_BLK_F_WCE->VIRTIO_BLK_F_FLUSHMichael S. Tsirkin1-3/+8
2015-10-01blk-mq: fix racy updates of rq->errorsChristoph Hellwig1-1/+1
2015-09-08virtio-blk: Allow extended partitionsFam Zheng1-0/+1
2015-09-08virtio-blk: use VIRTIO_BLK_F_WCE and VIRTIO_BLK_F_CONFIG_WCE in virtio1Paolo Bonzini1-3/+2
2015-05-05block: rename REQ_TYPE_SPECIAL to REQ_TYPE_DRV_PRIVChristoph Hellwig1-3/+3
2015-04-10sd, mmc, virtio_blk, string_helpers: fix block size unitsJames Bottomley1-4/+5
2015-01-21virtio_blk: coding style fixesMichael S. Tsirkin1-4/+2
2015-01-21virtio/blk: verify device has config spaceMichael S. Tsirkin1-0/+6
2015-01-02block: fix checking return value of blk_mq_init_queueMing Lei1-1/+1
2014-12-13Merge branch 'for-3.19/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+4
2014-12-09virtio: drop VIRTIO_F_VERSION_1 from driversMichael S. Tsirkin1-1/+0
2014-12-09virtio_blk: fix race at module removalMichael S. Tsirkin1-1/+1
2014-12-09virtio_blk: make serial attribute staticMichael S. Tsirkin1-1/+2
2014-12-09virtio_blk: v1.0 supportMichael S. Tsirkin1-29/+41
2014-10-29blk-mq: add a 'list' parameter to ->queue_rq()Jens Axboe1-3/+4
2014-10-18Merge branch 'for-3.18/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+5
2014-10-15virtio_blk: enable VQs early on restoreMichael S. Tsirkin1-3/+6
2014-10-15virtio_blk: enable VQs earlyMichael S. Tsirkin1-0/+2
2014-10-15virtio-blk: drop config_mutexMichael S. Tsirkin1-8/+0
2014-10-15virtio_blk: drop config_enableMichael S. Tsirkin1-19/+4
2014-09-22blk-mq: rename blk_mq_end_io to blk_mq_end_requestChristoph Hellwig1-1/+1
2014-09-22blk-mq: call blk_mq_start_request from ->queue_rqChristoph Hellwig1-0/+2
2014-09-22blk-mq: remove REQ_ENDChristoph Hellwig1-2/+2
2014-07-01block: virtio-blk: support multi virt queues per virtio-blk deviceMing Lei1-20/+84
2014-05-30block: virtio_blk: don't hold spin lock during world switchMing Lei1-3/+6
2014-05-28Merge branch 'for-3.16/core' into for-3.16/driversJens Axboe1-2/+0
2014-05-28blk-mq: remove alloc_hctx and free_hctx methodsChristoph Hellwig1-2/+0
2014-05-16virtio_blk: fix race between start and stop queueMing Lei1-2/+2
2014-04-16blk-mq: add async parameter to blk_mq_start_stopped_hw_queuesChristoph Hellwig1-2/+2
2014-04-15blk-mq: split out tag initialization, support shared tagsChristoph Hellwig1-17/+31
2014-04-15blk-mq: add ->init_request and ->exit_request methodsChristoph Hellwig1-12/+11
2014-04-15blk-mq: do not initialize req->specialChristoph Hellwig1-3/+3
2014-04-02Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+17
2014-03-24virtio-blk: base queue-depth on virtqueue ringsize or module paramRusty Russell1-1/+9
2014-03-14blk-mq: allow blk_mq_init_commands() to return failureJens Axboe1-1/+2
2014-03-13virtio_blk: don't crash, report error if virtqueue is broken.Rusty Russell1-2/+8
2014-02-10virtio_blk: use blk_mq_complete_requestChristoph Hellwig1-3/+4
2013-11-19virtio-blk: virtqueue_kick() must be ordered with other virtqueue operationsShaohua Li1-2/+3
2013-11-15Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-257/+65
2013-11-14virtio_blk: blk-mq supportJens Axboe1-257/+65
2013-10-29virtio_blk: verify if queue is broken after virtqueue_get_buf()Heinz Graalfs1-0/+2
2013-10-17virtio: use size-based config accessors.Rusty Russell1-44/+33
2013-09-23virtio: pm: use CONFIG_PM_SLEEP instead of CONFIG_PMAaron Lu1-2/+2