aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkfront.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-27xen-blkfront: atomically update queue limitsChristoph Hellwig1-18/+23
2024-02-27xen-blkfront: don't redundantly set max_sements in blkif_recoverChristoph Hellwig1-5/+3
2024-02-27xen-blkfront: rely on the default discard granularityChristoph Hellwig1-2/+2
2024-02-27xen-blkfront: set max_discard/secure erase limits to UINT_MAXChristoph Hellwig1-4/+2
2024-02-13block: pass a queue_limits argument to blk_mq_alloc_diskChristoph Hellwig1-1/+1
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-1/+1
2023-05-24xen/blkfront: Only check REQ_FUA for writesRoss Lagerwall1-1/+2
2023-01-12Merge tag 'for-linus-6.2-rc4-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+1
2022-12-15xen: make remove callback of xen driver void returnedDawei Li1-2/+1
2022-11-02block: set the disk capacity to 0 in blk_mark_disk_deadChristoph Hellwig1-1/+0
2022-09-03Merge tag 'for-linus-6.0-rc4-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+12
2022-09-02xen-blkfront: Cache feature_persistent value before advertisementSeongJae Park1-7/+7
2022-09-02xen-blkfront: Advertise feature-persistent as user requestedSeongJae Park1-2/+6
2022-08-14Merge tag 'for-linus-6.0-rc1b-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-3/+1
2022-08-12xen-blkfront: Apply 'feature_persistent' parameter when connectSeongJae Park1-3/+1
2022-08-02Merge tag 'for-5.20/block-2022-07-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2022-07-01xen/blkfront: force data bouncing when backend is untrustedRoger Pau Monne1-15/+34
2022-07-01xen/blkfront: fix leaking data in shared pagesRoger Pau Monne1-2/+3
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-2/+2
2022-06-21xen-blkfront: Handle NULL gendiskJason Andryuk1-7/+12
2022-06-04Merge tag 'for-linus-5.19-rc1b-tag' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+3
2022-05-27xen: switch gnttab_end_foreign_access() to take a struct page pointerJuergen Gross1-3/+3
2022-05-23Merge tag 'for-linus-5.19-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-40/+17
2022-05-19xen/blkfront: use xenbus_setup_ring() and xenbus_teardown_ring()Juergen Gross1-29/+8
2022-05-19xen/blkfront: switch blkfront to use INVALID_GRANT_REFJuergen Gross1-14/+12
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-2/+3
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-2/+1
2022-04-01Merge tag 'for-5.18/drivers-2022-04-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-03-28Merge tag 'for-linus-5.18-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-4/+4
2022-03-21Merge tag 'for-5.18/drivers-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+4
2022-03-21xen/blkfront: fix comment for need_copyDongli Zhang1-1/+1
2022-03-15xen/grant-table: remove readonly parameter from functionsJuergen Gross1-4/+4
2022-03-11xen/blkfront: speed up purge_persistent_grants()Juergen Gross1-1/+4
2022-03-07xen/blkfront: don't use gnttab_query_foreign_access() for mapped statusJuergen Gross1-26/+37
2022-02-17block: fix surprise removal for drivers calling blk_set_queue_dyingChristoph Hellwig1-1/+1
2022-01-12Merge tag 'for-5.17/block-2022-01-11' of git://git.kernel.dk/linux-blockLinus Torvalds1-15/+11
2021-12-16xen/blkfront: harden blkfront against event channel stormsJuergen Gross1-3/+12
2021-11-29block: remove GENHD_FL_CDChristoph Hellwig1-15/+11
2021-10-21xen-blkfront: add error handling support for add_disk()Luis Chamberlain1-1/+7
2021-10-18block: drop unused includes in <linux/genhd.h>Christoph Hellwig1-0/+1
2021-09-02Merge tag 'for-linus-5.15-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-42/+84
2021-08-30xen/blkfront: don't trust the backend response data blindlyJuergen Gross1-17/+53
2021-08-30xen/blkfront: don't take local copy of a request from the ring pageJuergen Gross1-10/+15
2021-08-30xen/blkfront: read response from backend only onceJuergen Gross1-17/+18
2021-08-09xen-blkfront: Remove redundant assignment to variable errColin Ian King1-1/+0
2021-07-15xen-blkfront: sanitize the removal state machineChristoph Hellwig1-198/+26
2021-06-11xen-blkfront: use blk_mq_alloc_disk and blk_cleanup_diskChristoph Hellwig1-57/+39
2021-06-01block: move bd_mutex to struct gendiskChristoph Hellwig1-4/+4
2021-04-28Merge tag 'for-5.13/drivers-2021-04-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+3
2021-04-23xen-blkfront: Fix 'physical' typosBjorn Helgaas1-1/+1
2021-04-06block: xen-blkfront: Demote kernel-doc abusesLee Jones1-3/+3
2021-01-28Merge tag 'for-linus-5.11-rc6-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-13/+7
2021-01-26xen-blkfront: allow discard-* nodes to be optionalRoger Pau Monne1-13/+7
2020-12-19Merge tag 'for-linus-5.11-rc1b-tag' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+1
2020-12-16xen-blkfront: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2020-12-01block: stop using bdget_disk for partition 0Christoph Hellwig1-15/+5
2020-11-16block: remove the update_bdev parameter to set_capacity_revalidate_and_notifyChristoph Hellwig1-1/+1
2020-10-21xen-blkfront: add a parameter for disabling of persistent grantsSeongJae Park1-5/+15
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-3/+2
2020-06-24blk-mq: move failure injection out of blk_mq_complete_requestChristoph Hellwig1-1/+2
2020-04-10Merge tag 'for-linus-5.7-rc1b-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+12
2020-04-07xen/blkfront: fix memory allocation flags in blkfront_setup_indirect()Juergen Gross1-5/+12
2020-03-18xen-blkfront.c: Convert to use set_capacity_revalidate_and_notifyBalbir Singh1-5/+1
2020-03-05xen/blkfront: fix ring info addressingJuergen Gross1-38/+42
2020-02-06Merge tag 'block-5.6-2020-02-05' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+3
2020-01-29xen/blkfront: limit allocated memory size to actual use caseJuergen Gross1-5/+3
2020-01-03compat_ioctl: block: handle cdrom compat ioctl in non-cdrom driversArnd Bergmann1-0/+1
2019-12-20xen/blkfront: Adjust indentation in xlvbd_alloc_gendiskNathan Chancellor1-2/+2
2019-06-03xen-blkfront: switch kcalloc to kvcalloc for large array allocationRoger Pau Monne1-19/+19
2019-02-15block: kill BLK_MQ_F_SG_MERGEMing Lei1-1/+1
2018-11-10Merge tag 'for-linus-4.20a-rc2-tag' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+1
2018-11-06xen-blkfront: fix kernel panic with negotiate_mq error pathManjunath Patil1-0/+1
2018-10-25xen/blkfront: avoid NULL blkfront_info dereference on device removalVasilis Liaskovitis1-0/+3
2018-10-01Merge tag 'v4.19-rc6' into for-4.20/blockJens Axboe1-2/+2
2018-09-28xen/blkfront: correct purging of persistent grantsJuergen Gross1-2/+2
2018-09-28Revert "xen/blkfront: When purging persistent grants, keep them in the buffer"Jens Axboe1-1/+3
2018-09-28block: genhd: add 'groups' argument to device_add_diskHannes Reinecke1-1/+1
2018-09-27xen/blkfront: When purging persistent grants, keep them in the bufferBoris Ostrovsky1-3/+1
2018-08-27xen/blkfront: reorder tests in xlblk_init()Juergen Gross1-9/+9
2018-08-27xen/blkfront: cleanup stale persistent grantsJuergen Gross1-4/+90
2018-08-06xen-blkfront: use true and false for boolean valuesGustavo A. R. Silva1-2/+2
2018-07-25xen/blkfront: remove unused macrosJuergen Gross1-5/+0
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-9/+14
2018-05-24block drivers/block: Use octal not symbolic permissionsJoe Perches1-4/+3
2018-04-05Merge tag 'for-4.17/block-20180402' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+5
2018-03-08block: Use blk_queue_flag_*() in drivers instead of queue_flag_*()Bart Van Assche1-5/+5
2018-03-08Merge branch 'stable/for-jens-4.15' of git://git.kernel.org/pub/scm/linux/ker...Jens Axboe1-9/+8
2018-03-07xen-blkfront: move negotiate_mq to cover all cases of new VBDsBhavesh Davda1-9/+8
2018-01-30blk-mq: introduce BLK_STS_DEV_RESOURCEMing Lei1-1/+1
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2017-08-18xen-blkfront: Avoid that gcc 7 warns about fall-through when building with W=1Bart Van Assche1-1/+1
2017-08-15xen-blkfront: use a right index when checking requestsMunehisa Kamata1-3/+3
2017-07-25xen/blkfront: always allocate grants first from per-queue persistent grantsDongli Zhang1-8/+11
2017-07-25xen-blkfront: fix mq start/stop raceJunxiao Bi1-1/+1
2017-07-24xen-blkfront: Fix handling of non-supported operationsBart Van Assche1-2/+2
2017-06-27blk-mq: don't bounce by defaultChristoph Hellwig1-3/+0
2017-06-18xen-blkfront: remove bio splitting.NeilBrown1-51/+3
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-1/+1
2017-06-09blk-mq: switch ->queue_rq return value to blk_status_tChristoph Hellwig1-4/+4
2017-06-09block: introduce new block status code typeChristoph Hellwig1-6/+10
2017-04-20blk-mq: remove the error argument to blk_mq_complete_requestChristoph Hellwig1-1/+1
2017-04-20xen-blkfront: don't use req->errorsChristoph Hellwig1-11/+25
2017-04-18blkfront: add uevent for size changeMarc Olson1-0/+3
2017-03-31blk-mq: constify struct blk_mq_opsEric Biggers1-1/+1
2017-02-17Merge branch 'for-4.11/next' into for-4.11/linus-mergeJens Axboe1-1/+1
2017-01-31block: fold cmd_type into the REQ_OP_ spaceChristoph Hellwig1-1/+1
2017-01-23xen-blkfront: correct maximum segment accountingJan Beulich1-3/+9
2017-01-23xen-blkfront: feature flags handling adjustmentsJan Beulich1-5/+5
2016-12-13Merge tag 'for-linus-4.10-rc0-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-55/+26
2016-11-07xen: make use of xenbus_read_unsigned() in xen-blkfrontJuergen Gross1-55/+26
2016-11-02blk-mq: Add a kick_requeue_list argument to blk_mq_requeue_request()Bart Van Assche1-1/+1
2016-11-02blk-mq: Avoid that requeueing starts stopped queuesBart Van Assche1-0/+1
2016-09-15blk-mq: remove ->map_queueChristoph Hellwig1-1/+0
2016-08-19xen-blkfront: free resources if xlvbd_alloc_gendisk failsBob Liu1-1/+6
2016-08-19xen-blkfront: introduce blkif_set_queue_limits()Bob Liu1-38/+48
2016-08-19xen-blkfront: fix places not updated after introducing 64KB page granularityBob Liu1-2/+2
2016-07-27Merge tag 'for-linus-4.8-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-24/+19
2016-07-26Merge branch 'for-4.8/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-8/+10
2016-07-26Merge branch 'for-4.8/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-31/+35
2016-07-22xen-blkfront: prefer xenbus_scanf() over xenbus_gather()Jan Beulich1-24/+19
2016-06-29xen-blkfront: save uncompleted reqs in blkfront_resume()Bob Liu1-51/+40
2016-06-27block: convert to device_add_disk()Dan Williams1-2/+1
2016-06-09block: add a separate operation type for secure eraseChristoph Hellwig1-5/+9
2016-06-08xen-blkfront: fix resume issues after a migrationBob Liu1-12/+8
2016-06-08xen-blkfront: don't call talk_to_blkback when already connected to blkbackBob Liu1-1/+14
2016-06-07block: do not use REQ_FLUSH for tracking flush supportMike Christie1-23/+24
2016-06-07block, drivers: add REQ_OP_FLUSH operationMike Christie1-4/+4
2016-06-07drivers: use req op accessorMike Christie1-3/+5
2016-06-07block/fs/drivers: remove rw argument from submit_bioMike Christie1-2/+2
2016-04-12xen-blkfront: switch to using blk_queue_write_cache()Jens Axboe1-1/+2
2016-03-18Merge branch 'for-4.6/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+4
2016-03-03xen-blkfront: rename indirect descriptor parameterJan Beulich1-2/+4
2016-01-29xen/blkfront: realloc ring info in blkif_resumeBob Liu1-29/+45
2016-01-04xen/blkfront: Fix crash if backend doesn't follow the right states.Konrad Rzeszutek Wilk1-4/+8
2016-01-04xen/blkfront: Handle non-indirect grant with 64KB pagesJulien Grall1-16/+212
2016-01-04xen-blkfront: Introduce blkif_ring_get_requestJulien Grall1-11/+19
2016-01-04xen/blocks: Return -EXX instead of -1Konrad Rzeszutek Wilk1-2/+2
2016-01-04xen/blkfront: correct setting for xen_blkif_max_ring_orderPeng Fan1-1/+1
2016-01-04xen/blkfront: make persistent grants pool per-queueBob Liu1-67/+43
2016-01-04xen/blkfront: Remove duplicate setting of ->xbdev.Bob Liu1-1/+0
2016-01-04xen/blkfront: Cleanup of comments, fix unaligned variables, and syntax errors.Konrad Rzeszutek Wilk1-7/+6
2016-01-04xen/blkfront: negotiate number of queues/rings to be used with backendBob Liu1-41/+119
2016-01-04xen/blkfront: split per device io_lockBob Liu1-26/+47
2016-01-04xen/blkfront: pseudo support for multi hardware queues/ringsBob Liu1-145/+198
2016-01-04xen/blkfront: separate per ring information out of device infoBob Liu1-162/+197
2015-11-04Merge tag 'for-linus-4.4-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-200/+360
2015-10-23xen/xenbus: Rename *RING_PAGE* to *RING_GRANT*Julien Grall1-5/+5
2015-10-23block/xen-blkfront: Make it running on 64KB page granularityJulien Grall1-111/+213
2015-10-23block/xen-blkfront: split get_grant in 2Julien Grall1-29/+59
2015-10-23block/xen-blkfront: Store a page rather a pfn in the grant structureJulien Grall1-20/+19
2015-10-23block/xen-blkfront: Split blkif_queue_request in 2Julien Grall1-124/+153
2015-10-07Merge branch 'stable/for-jens-4.3' of git://git.kernel.org/pub/scm/linux/kern...Jens Axboe1-1/+2
2015-10-07xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing)Cathy Avery1-1/+2
2015-10-01blk-mq: fix racy updates of rq->errorsChristoph Hellwig1-9/+10
2015-09-10Merge tag 'for-linus-4.3-rc0b-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-3/+3
2015-09-08Merge tag 'for-linus-4.3-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-86/+60
2015-09-08xen: Use correctly the Xen memory terminologiesJulien Grall1-3/+3
2015-09-02Merge branch 'for-4.3/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-6/+3
2015-08-20xen-blkfront: convert to blk-mq APIsBob Liu1-86/+60
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-6/+3
2015-07-27Merge branch 'stable/for-jens-4.2' of git://git.kernel.org/pub/scm/linux/kern...Jens Axboe1-56/+72
2015-07-24xen-blkfront: don't add indirect pages to list when !feature_persistentBob Liu1-2/+4
2015-07-24xen-blkfront: introduce blkfront_gather_backend_features()Bob Liu1-54/+68
2015-07-01Merge tag 'for-linus-4.2-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+0
2015-06-22drivers: xen-blkfront: only talk_to_blkback() when in XenbusStateInitialisingBob Liu1-0/+2
2015-06-17block/xen-blkfront: Remove invalid commentJulien Grall1-6/+0
2015-06-17block/xen-blkfront: Remove unused macro MAXIMUM_OUTSTANDING_BLOCK_REQSJulien Grall1-2/+0
2015-06-05xen/block: add multi-page ring supportBob Liu1-39/+96
2015-06-05driver: xen-blkfront: move talk_to_blkback to a more suitable placeBob Liu1-8/+6
2015-04-15xenbus_client: Extend interface to support multi-page ringWei Liu1-2/+3
2015-02-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2015-02-12kernel.h: remove ancient __FUNCTION__ hackRasmus Villemoes1-1/+1
2015-02-10xen-blkfront: fix accounting of reqs when migratingRoger Pau Monne1-2/+2
2014-12-10xen/blkfront: remove redundant flush_opVitaly Kuznetsov1-20/+31
2014-12-10xen/blkfront: improve protection against issuing unsupported REQ_FUAVitaly Kuznetsov1-6/+8
2014-10-18Merge branch 'for-3.18/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+9
2014-10-06xen: remove DEFINE_XENBUS_DRIVER() macroDavid Vrabel1-2/+3
2014-10-01xen, blkfront: factor out flush-related checks from do_blkif_request()Arianna Avanzini1-3/+9
2014-05-28Merge branch 'stable/for-jens-3.16' of git://git.kernel.org/pub/scm/linux/ker...Jens Axboe1-26/+14
2014-05-28xen-blkfront: remove type check from blkfront_setup_discardOlaf Hering1-26/+14
2014-04-15block: remove struct request buffer memberJens Axboe1-2/+2
2014-02-10Merge branch 'stable/for-jens-3.14' of git://git.kernel.org/pub/scm/linux/ker...Jens Axboe1-4/+7
2014-02-07xen-blkfront: handle backend CLOSED without CLOSINGDavid Vrabel1-1/+4
2014-02-07xen-blkif: drop struct blkif_request_segment_alignedRoger Pau Monne1-3/+3
2014-01-30Merge branch 'for-3.14/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2014-01-03xen/pvhvm: If xen_platform_pci=0 is set don't blow up (v4).Konrad Rzeszutek Wilk1-2/+2
2013-12-31Merge tag 'v3.13-rc6' into for-3.14/coreJens Axboe1-1/+6
2013-11-26block: xen-blkfront: Fix possible NULL ptr dereferenceFelipe Pena1-0/+5
2013-11-26xen-blkfront: Silence pfn maybe-uninitialized warningTim Gardner1-1/+1
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-1/+1
2013-11-08xen-blkfront: restore the non-persistent data pathRoger Pau Monne1-25/+100
2013-11-08xen-blkfront: improve aproximation of required grants per requestRoger Pau Monne1-4/+7
2013-11-08xen-blkfront: revoke foreign access for grants not mapped by the backendRoger Pau Monne1-4/+29
2013-11-08block: Consolidate duplicated bio_trim() implementationsKent Overstreet1-52/+1
2013-06-28Merge branch 'stable/for-jens-3.10' of git://git.kernel.org/pub/scm/linux/ker...Jens Axboe1-100/+432
2013-06-21xen-blkfront: set blk_queue_max_hw_sectors correctlyRoger Pau Monne1-1/+1
2013-06-07xen/blkback: Use physical sector size for setupStefan Bader1-3/+18
2013-06-04xen-blkfront: Introduce a 'max' module parameter to alter the amount of indir...Konrad Rzeszutek Wilk1-0/+2
2013-05-08xen-blkfront: use a different scatterlist for each requestRoger Pau Monne1-25/+18