aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback
AgeCommit message (Expand)AuthorFilesLines
2024-02-25xen: port block device access to fileChristian Brauner3-23/+22
2024-01-04drivers/block/xen-blkback/common.h: Fix spelling typo in commentliyouhong1-1/+1
2023-10-28xen/blkback: Convert to bdev_open_by_dev()Jan Kara3-23/+25
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-1/+1
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-1/+1
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+1
2023-04-25xen/blkback: move blkif_get_x86_*_req() into blkback.cJuergen Gross2-96/+104
2023-04-25xen/blkback: simplify free_persistent_gnts() interfaceJuergen Gross1-10/+10
2023-04-25xen/blkback: remove stale prototypeJuergen Gross1-1/+0
2023-04-25xen/blkback: fix white space code style issuesJuergen Gross2-4/+4
2022-12-15xen: make remove callback of xen driver void returnedDawei Li1-3/+1
2022-09-03Merge tag 'for-linus-6.0-rc4-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-2/+7
2022-09-02xen-blkback: Advertise feature-persistent as user requestedSeongJae Park2-2/+7
2022-08-14Merge tag 'for-linus-6.0-rc1b-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-12/+8
2022-08-12xen-blkback: Apply 'feature_persistent' parameter when connectMaximilian Heyne1-6/+3
2022-08-12xen-blkback: fix persistent grants negotiationSeongJae Park1-8/+7
2022-07-14xen-blkback: Use the enum req_op and blk_opf_t typesBart Van Assche1-3/+3
2022-05-04xen-blkback: use bdev_discard_alignmentChristoph Hellwig1-3/+2
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig2-11/+9
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-1/+1
2022-04-17block: add a bdev_write_cache helperChristoph Hellwig1-1/+1
2022-04-01Merge tag 'for-5.18/drivers-2022-04-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-0/+1
2022-03-21fs: Move many prototypes to pagemap.hMatthew Wilcox (Oracle)1-0/+1
2022-03-21xen-blkback: remove redundant assignment to variable iColin Ian King1-1/+1
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-6/+5
2022-02-02xen-blkback: bio_alloc can't fail if it is allow to sleepChristoph Hellwig1-14/+0
2021-11-29block: remove GENHD_FL_CDChristoph Hellwig1-1/+1
2021-10-22xen-blkback: use sync_blockdevChristoph Hellwig1-1/+1
2021-08-19isystem: trim/fixup stdarg.h and other headersAlexey Dobriyan1-1/+0
2021-04-23xen-blkback: fix compatibility bug with single page ringsPaul Durrant2-22/+17
2021-03-30Merge tag 'for-linus-5.12b-rc6-tag' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2021-03-26xen-blkback: don't leak persistent grants from xen_blkbk_map()Jan Beulich1-1/+1
2021-02-26block: Add bio_max_segsMatthew Wilcox (Oracle)1-3/+1
2021-02-21Merge tag 'for-linus-5.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-14/+18
2021-02-15xen-blkback: fix error handling in xen_blkbk_map()Jan Beulich1-10/+16
2021-02-15xen-blkback: don't "handle" error by BUG()Jan Beulich1-4/+2
2021-02-11xen/events: link interdomain events to associated xenbus deviceJuergen Gross1-1/+1
2020-12-16Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+1
2020-12-14xen-blkback: set ring->xenblkd to NULL after kthread_stop()Pawel Wieczorkiewicz1-0/+1
2020-12-14xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()SeongJae Park1-1/+2
2020-12-09xen: add helpers for caching grant mapping pagesJuergen Gross3-79/+20
2020-12-01block: remove the nr_sects field in struct hd_structChristoph Hellwig1-3/+1
2020-10-21xen-blkback: add a parameter for disabling of persistent grantsSeongJae Park1-6/+16
2020-10-20xen/blkback: use lateeoi irq bindingJuergen Gross2-8/+19
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-2/+2
2020-08-07mm: remove unneeded includes of <asm/pgalloc.h>Mike Rapoport1-1/+0
2020-01-29xen/blkback: Consistently insert one empty line between functionsSeongJae Park1-5/+2
2020-01-29xen/blkback: Remove unnecessary static variable name prefixesSeongJae Park1-20/+17
2020-01-29xen/blkback: Squeeze page pools if a memory pressure is detectedSeongJae Park3-2/+27
2019-12-21Merge tag 'for-linus-5.5b-rc3-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-18/+38
2019-12-20xen-blkback: support dynamic unbind/bindPaul Durrant1-18/+38
2019-12-15Merge tag 'for-linus-5.5b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+10
2019-12-13xen-blkback: prevent premature module unloadPaul Durrant1-0/+10
2019-12-07Merge tag 'for-linus-5.5b-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds3-0/+22
2019-12-04xen-blkback: allow module to be cleanly unloadedPaul Durrant3-0/+22
2019-12-03xen/blkback: Avoid unmapping unmapped grant pagesSeongJae Park1-0/+2
2019-08-12xen/blkback: fix memory leaksWenwen Wang1-3/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157Thomas Gleixner1-9/+1
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-02-24xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-...Dongli Zhang1-29/+43
2019-01-17xen/blkback: add stack variable 'blkif' in connect_ring()Dongli Zhang1-13/+14
2018-08-27xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ringJuergen Gross1-1/+0
2018-08-27xen/blkback: move persistent grants flags to boolJuergen Gross2-13/+7
2018-08-27xen/blkback: don't keep persistent grants too longJuergen Gross2-46/+50
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+2
2018-05-24block drivers/block: Use octal not symbolic permissionsJoe Perches2-3/+3
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds2-5/+7
2017-08-25xen-blkback: stop blkback thread of every queue in xen_blkif_disconnectAnnie Li1-2/+8
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-2/+2
2017-08-18xen-blkback: Avoid that gcc 7 warns about fall-through when building with W=1Bart Van Assche2-1/+3
2017-08-18xen-blkback: Fix indentationBart Van Assche1-2/+2
2017-06-22Merge commit '8e8320c9315c' into for-4.13/blockJens Axboe3-41/+26
2017-06-13xen-blkback: don't leak stack data via response ringJan Beulich2-31/+17
2017-06-13xen/blkback: don't use xen_blkif_get() in xen-blkback kthreadJuergen Gross2-4/+0
2017-06-13xen/blkback: don't free be structure too earlyJuergen Gross1-4/+3
2017-06-13xen/blkback: fix disconnect while I/Os in flightJuergen Gross2-2/+6
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-11/+8
2017-05-15block: xen-blkback: add null check to avoid null pointer dereferenceGustavo A. R. Silva1-3/+5
2017-02-09xen: modify xenstore watch event interfaceJuergen Gross1-3/+3
2016-12-13Merge tag 'for-linus-4.10-rc0-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-22/+14
2016-11-07xen: make use of xenbus_read_unsigned() in xen-blkbackJuergen Gross1-22/+14
2016-11-01block,fs: use REQ_* flags directlyChristoph Hellwig1-5/+5
2016-07-27Merge tag 'for-linus-4.8-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-9/+11
2016-07-22xen-blkback: really don't leak mode propertyJan Beulich1-1/+4
2016-07-22xen-blkback: constify instance of "struct attribute_group"Jan Beulich1-1/+1
2016-07-22xen-blkback: prefer xenbus_scanf() over xenbus_gather()Jan Beulich1-7/+6
2016-06-09block: add a separate operation type for secure eraseChristoph Hellwig1-1/+1
2016-06-07xen: use bio op accessorsMike Christie1-12/+15
2016-06-07block/fs/drivers: remove rw argument from submit_bioMike Christie1-1/+3
2016-04-13block: kill off q->flush_flagsJens Axboe1-1/+1
2016-03-03xen/blback: Fit the important information of the thread in 17 charactersKonrad Rzeszutek Wilk1-4/+3
2016-03-03xen-blkback: advertise indirect segment support earlierJan Beulich1-5/+8
2016-01-21Merge branch 'for-4.5/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds3-364/+529
2016-01-04xen/blkback: Fix two memory leaks.Bob Liu1-6/+11
2016-01-04xen/blkback: make st_ statistics per ringBob Liu3-38/+61
2016-01-04xen-blkback: clear PF_NOFREEZE for xen_blkif_schedule()Jiri Kosina1-0/+1
2016-01-04xen/blkback: Free resources if connect_ring failed.Konrad Rzeszutek Wilk1-1/+7
2016-01-04xen/blocks: Return -EXX instead of -1Konrad Rzeszutek Wilk1-1/+1
2016-01-04xen/blkback: make pool of persistent grants and free pages per-queueBob Liu3-137/+118
2016-01-04xen/blkback: get the number of hardware queues/rings from blkfrontBob Liu3-6/+42
2016-01-04xen/blkback: pseudo support for multi hardware queues/ringsKonrad Rzeszutek Wilk2-105/+175
2016-01-04xen/blkback: separate ring information out of struct xen_blkifBob Liu3-172/+215
2015-12-18xen-blkback: read from indirect descriptors only onceRoger Pau Monné1-5/+10
2015-12-18xen-blkback: only read request operation from shared ring onceRoger Pau Monné1-4/+4
2015-10-23xen/xenbus: Rename *RING_PAGE* to *RING_GRANT*Julien Grall2-5/+5
2015-10-23block/xen-blkback: Make it running on 64KB page granularityJulien Grall3-9/+22
2015-09-23Merge branch 'stable/for-jens-4.3' of git://git.kernel.org/pub/scm/linux/kern...Jens Axboe1-18/+20
2015-09-23xen/blkback: free requests on disconnectionRoger Pau Monne1-18/+20
2015-09-02Merge branch 'for-4.3/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-2/+2
2015-07-27Merge branch 'stable/for-jens-4.2' of git://git.kernel.org/pub/scm/linux/kern...Jens Axboe1-2/+2
2015-07-24xen-blkback: replace work_pending with work_busy in purge_persistent_gnt()Bob Liu1-2/+2
2015-07-01Merge tag 'for-linus-4.2-rc0-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-6/+6
2015-06-27Merge branch 'stable/for-jens-4.2' of git://git.kernel.org/pub/scm/linux/kern...Jens Axboe3-63/+121
2015-06-17block/xen-blkback: s/nr_pages/nr_segs/Julien Grall2-6/+6
2015-06-05xen/block: add multi-page ring supportBob Liu3-20/+84
2015-06-05drivers: xen-blkback: delay pending_req allocation to connect_ringBob Liu2-45/+39
2015-04-27xen/grant: introduce func gnttab_unmap_refs_sync()Bob Liu1-28/+3
2015-04-27xen/blkback: safely unmap purge persistent grantsBob Liu1-6/+18
2015-04-16Merge branch 'for-4.1/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds3-52/+54
2015-04-15xenbus_client: Extend interface to support multi-page ringWei Liu1-2/+3
2015-04-07xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFXTao Chen3-50/+49
2015-04-07xen-blkback: enlarge the array size of blkback nameTao Chen1-2/+5
2015-02-12Merge branch 'for-3.20/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds2-2/+11
2015-02-10xen-blkback: default to X86_32 ABI on x86David Vrabel2-2/+11
2015-01-28xen-blkback: safely unmap grants in case they are still in useJennifer Herbert2-50/+122
2015-01-28xen/grant-table: add helpers for allocating pagesDavid Vrabel1-4/+4
2014-10-18Merge branch 'for-3.18/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds2-3/+4
2014-10-06xen: remove DEFINE_XENBUS_DRIVER() macroDavid Vrabel1-8/+3
2014-10-01xen-blkback: fix leak on grant map error pathRoger Pau Monné1-0/+1
2014-10-01xen/blkback: unmap all persistent grants when frontend gets disconnectedVitaly Kuznetsov1-3/+3
2014-05-28xen-blkback: defer freeing blkif to avoid blocking xenwatchValentin Priescu2-14/+36
2014-05-28xen/blkback: disable discard feature if requested by toolstackOlaf Hering1-1/+6
2014-02-11xen-blkback: init persistent_purge_work work_structRoger Pau Monne3-2/+3
2014-02-10Merge branch 'stable/for-jens-3.14' of git://git.kernel.org/pub/scm/linux/ker...Jens Axboe3-22/+58
2014-02-07xen-blkif: drop struct blkif_request_segment_alignedRoger Pau Monne2-2/+2
2014-02-07xen-blkback: fix shutdown raceRoger Pau Monne3-10/+24
2014-02-07xen-blkback: fix memory leaksRoger Pau Monne3-9/+31
2014-02-07xen-blkback: fix memory leak when persistent grants are usedMatt Rushton1-3/+3
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-1/+1
2013-11-08xen/blkback: fix reference countingVegard Nossum1-1/+2
2013-09-11block: replace strict_strtoul() with kstrtoul()Jingoo Han1-1/+1
2013-07-22Merge branch 'for-3.11/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds3-322/+782
2013-07-03drivers: avoid parsing names as kthread_run() format stringsKees Cook1-1/+1
2013-06-25xen-blkback: check the number of iovecs before allocating a biosRoger Pau Monne1-1/+2
2013-06-21xen-blkback: workaround compiler bug in gcc 4.1Roger Pau Monne1-10/+14
2013-06-17xen/blkback: Check for insane amounts of request on the ring (v6).Konrad Rzeszutek Wilk3-1/+16
2013-06-07xen/blkback: Check device permissions before allowing OP_DISCARDKonrad Rzeszutek Wilk1-1/+12
2013-06-07xen/blkback: Use physical sector size for setupStefan Bader1-0/+5
2013-05-07xen-blkback: allocate list of pending reqs in small chunksRoger Pau Monne3-78/+106
2013-04-18xen-block: implement indirect descriptorsRoger Pau Monne3-41/+198
2013-04-18xen-blkback: expand map/unmap functionsRoger Pau Monne1-55/+86
2013-04-18xen-blkback: make the queue of free requests per backendRoger Pau Monne3-105/+74
2013-04-18xen-blkback: move pending handles list from blkbk to pending_reqRoger Pau Monne1-12/+4
2013-04-18xen-blkback: implement LRU mechanism for persistent grantsRoger Pau Monne3-57/+250
2013-04-18xen-blkback: use balloon pages for all mappingsRoger Pau Monne3-121/+173
2013-04-18xen-blkback: print stats about persistent grantsRoger Pau Monne1-2/+4
2013-03-19xen-blkback: don't store dev_bus_addrRoger Pau Monne2-16/+6
2013-03-19xen-blkback: fix foreach_grant_safe to handle empty listsRoger Pau Monne1-1/+1
2013-03-18xen-blkback: fix dispatch_rw_block_io() error pathJan Beulich1-6/+1
2013-03-11xen/blkback: Change statistics counter types to unsignedZoltan Kiss3-16/+16
2013-03-11xen/blkback: correctly respond to unknown, non-native requestsDavid Vrabel2-4/+52
2013-03-01xen/xen-blkback: preq.dev is used without initializedChen Gang1-1/+2
2013-02-19xen-blkback: use balloon pages for persistent grantsRoger Pau Monne1-2/+4
2013-02-19xen/blkback: Don't trust the handle from the frontend.Konrad Rzeszutek Wilk1-1/+0
2013-02-19xen-blkback: do not leak mode propertyJan Beulich1-25/+24
2012-12-19Merge branch 'stable/for-jens-3.8' of git://git.kernel.org/pub/scm/linux/kern...Jens Axboe1-7/+11
2012-12-17Merge branch 'for-3.8/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds3-27/+313
2012-12-07xen-blkback: implement safe iterator for the list of persistent grantsRoger Pau Monne1-7/+11
2012-11-26xen-blkback: move free persistent grants codeRoger Pau Monne1-31/+37
2012-11-04xen/blkback: persistent-grants fixesRoger Pau Monne2-4/+7
2012-10-30xen/blkback: Persistent grant maps for xen blk driversRoger Pau Monne3-27/+305
2012-10-30xen/blkback: Change xen_vbd's flush_support and discard_secure to have type u...Oliver Chick1-2/+2
2012-10-30xen/blkback: use kmem_cache_zalloc instead of kmem_cache_alloc/memsetWei Yongjun1-2/+1
2012-10-30xen/blkback: Fix compile warningKonrad Rzeszutek Wilk1-3/+3
2012-10-07Merge tag 'stable/for-linus-3.7-arm-tag' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-0/+1
2012-09-12xen/m2p: do not reuse kmap_op->dev_bus_addrStefano Stabellini1-1/+1
2012-08-08xen/arm: compile blkfront and blkbackStefano Stabellini1-0/+1
2012-06-13Merge branch 'stable/for-jens-3.5' of git://git.kernel.org/pub/scm/linux/kern...Jens Axboe1-0/+2
2012-05-30xen/blkback: Copy id field when doing BLKIF_DISCARD.Konrad Rzeszutek Wilk1-0/+2
2012-04-18xen/blkback: Fix warning error.Konrad Rzeszutek Wilk1-1/+1
2012-03-24xen/blkback: Make optional features be really optional.Konrad Rzeszutek Wilk1-21/+14
2012-03-24xen/blkback: Squash the discard support for 'file' and 'phy' type.Konrad Rzeszutek Wilk3-61/+34
2012-03-20xen/blkback: Enable blkback on HVM guestsDaniel De Graaf1-1/+1
2012-03-20xen/blkback: use grant-table.c hypercall wrappersDaniel De Graaf1-25/+4
2012-01-15Merge branch 'for-3.3/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds3-77/+86
2012-01-10Merge branch 'stable/for-linus-3.3' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-6/+3
2012-01-04Xen: consolidate and simplify struct xenbus_driver instantiationJan Beulich1-6/+3
2011-12-02treewide: Fix typos in various parts of the kernel, and fix some comments.Justin P. Mattock1-1/+1
2011-11-18xen-blkback: convert hole punching to discard request on loop devicesLi Dongyang1-17/+2
2011-11-18xen/blkback: Move processing of BLKIF_OP_DISCARD from dispatch_rw_block_ioKonrad Rzeszutek Wilk1-30/+24
2011-11-18xen/blk[front|back]: Enhance discard support with secure erasing support.Konrad Rzeszutek Wilk3-8/+29
2011-11-18xen/blk[front|back]: Squash blkif_request_rw and blkif_request_discard togetherKonrad Rzeszutek Wilk2-34/+43
2011-11-06Merge branch 'stable/vmalloc-3.2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-51/+8
2011-11-04Merge branch 'for-3.2/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds3-38/+266
2011-10-26block: xen-blkback: use API provided by xenbus module to map ringsDavid Vrabel2-51/+8
2011-10-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+0
2011-10-25Merge branches 'stable/bug.fixes-3.2' and 'stable/mmu.fixes' of git://git.ker...Linus Torvalds1-1/+1
2011-10-17xen/blkback: Fix two races in the handling of barrier requests.Konrad Rzeszutek Wilk1-5/+5