aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/rnbd
AgeCommit message (Expand)AuthorFilesLines
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-39/+25
2024-02-25rnbd: port block device access to fileChristian Brauner2-15/+15
2024-02-19rnbd-clt: pass queue_limits to blk_mq_alloc_diskChristoph Hellwig1-39/+25
2024-02-13block: pass a queue_limits argument to blk_mq_alloc_diskChristoph Hellwig1-1/+1
2023-12-13block/rnbd-srv: Check for unlikely string overflowKees Cook1-9/+10
2023-11-27block/rnbd: use %pe to print errorsSupriti Singh2-13/+13
2023-11-27block/rnbd: add support for REQ_OP_WRITE_ZEROESSantosh Pradhan3-8/+18
2023-10-28rnbd-srv: Convert to use bdev_open_by_path()Jan Kara2-14/+15
2023-08-18drivers/rnbd: restore sysfs interface to rnbd-clientLi Zhijian1-1/+1
2023-06-21block/rnbd: make all 'class' structures constIvan Orlov2-19/+23
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig2-4/+4
2023-06-12rnbd-srv: replace sess->open_flags with a "bool readonly"Christoph Hellwig3-11/+9
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-2/+2
2023-06-12rnbd-srv: don't pass a holder for non-exclusive blkdev_get_by_pathChristoph Hellwig1-1/+1
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-1/+1
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-2/+2
2023-06-11block/rnbd-srv: make process_msg_sess_info returns voidGuoqing Jiang1-6/+3
2023-06-11block/rnbd-srv: init err earlier in rnbd_srv_init_moduleGuoqing Jiang1-5/+3
2023-06-11block/rnbd-srv: init ret with 0 instead of -EPERMGuoqing Jiang1-4/+3
2023-06-11block/rnbd-srv: rename one member in rnbd_srv_devGuoqing Jiang2-8/+8
2023-06-11block/rnbd-srv: no need to check sess_devGuoqing Jiang1-1/+1
2023-06-11block/rnbd: introduce rnbd_access_modesGuoqing Jiang6-32/+16
2023-06-11block/rnbd-srv: remove unused headerGuoqing Jiang1-1/+0
2023-06-11block/rnbd: kill rnbd_flags_supportedGuoqing Jiang1-22/+0
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+1
2023-05-12block/rnbd: replace REQ_OP_FLUSH with REQ_OP_WRITEGuoqing Jiang1-1/+1
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman2-2/+2
2023-01-17block/rnbd-clt: fix wrong max ID in ida_alloc_maxGuoqing Jiang1-1/+1
2022-10-07Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-6/+5
2022-09-21rnbd-srv: remove struct rnbd_devChristoph Hellwig3-50/+18
2022-09-21rnbd-srv: remove rnbd_dev_{open,close}Christoph Hellwig4-62/+18
2022-09-21rnbd-srv: remove rnbd_endioChristoph Hellwig2-15/+7
2022-09-21rnbd-srv: simplify rnbd_srv_fill_msg_open_rspChristoph Hellwig2-52/+13
2022-09-05rnbd-srv: remove redundant setting of blk_open_flagsGuoqing Jiang1-1/+0
2022-09-05rnbd-srv: make process_msg_close returns voidGuoqing Jiang1-4/+3
2022-09-05rnbd-srv: add comment in rnbd_srv_rdma_evGuoqing Jiang1-0/+5
2022-08-30RDMA/rtrs: Remove 'dir' argument from rnbd_srv_rdma_evGuoqing Jiang1-6/+5
2022-08-24block/rnbd-clt: Remove the unneeded result variableye xingchen1-3/+1
2022-08-22block: Change the return type of blk_mq_map_queues() into voidBart Van Assche1-3/+1
2022-08-22block/rnbd-srv: Add event tracing supportSantosh Pradhan4-7/+241
2022-08-02block/rnbd-srv: Replace sess_dev_list with index_idrMd Haris Iqbal2-14/+7
2022-08-02block/rnbd-srv: Set keep_id to true after mutex_trylockMd Haris Iqbal1-1/+2
2022-08-02rnbd-clt: make rnbd_clt_change_capacity return voidGuoqing Jiang1-4/+3
2022-08-02rnbd-clt: pass sector_t type for resize capacityGuoqing Jiang3-5/+5
2022-08-02rnbd-clt: check capacity inside rnbd_clt_change_capacityGuoqing Jiang1-6/+7
2022-08-02rnbd-clt: adjust the layout of struct rnbd_clt_devGuoqing Jiang1-2/+2
2022-08-02rnbd-clt: reduce the size of struct rnbd_clt_devGuoqing Jiang2-74/+55
2022-08-02rnbd-clt: kill read_only from struct rnbd_clt_devGuoqing Jiang2-7/+2
2022-08-02rnbd-clt: don't free rsp in msg_open_conf for map scenarioGuoqing Jiang1-4/+14
2022-08-02rnbd-clt: open code send_msg_open in rnbd_clt_map_deviceGuoqing Jiang1-2/+41
2022-07-14block/rnbd: Use blk_opf_t where appropriateBart Van Assche1-3/+4
2022-07-14rnbd-srv: remove the name field from struct rnbd_devChristoph Hellwig5-12/+7
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-2/+2
2022-06-28block: simplify disk shutdownChristoph Hellwig1-1/+1
2022-05-03rnbd-srv: use bdev_discard_alignmentChristoph Hellwig1-1/+1
2022-04-18block/rnbd-clt: Avoid flush_workqueue(system_long_wq) usageJack Wang1-2/+12
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig2-3/+3
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig2-5/+0
2022-04-17block: add a bdev_max_discard_sectors helperChristoph Hellwig1-2/+1
2022-04-17block: add a bdev_fua helperChristoph Hellwig1-2/+1
2022-04-17block: add a bdev_write_cache helperChristoph Hellwig1-1/+1
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds4-14/+3
2022-03-21Merge tag 'for-5.18/drivers-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds4-19/+13
2022-03-08blk-mq: prepare for implementing hctx table via xarrayMing Lei1-1/+1
2022-02-27block/rnbd: Remove a useless mutexChristophe JAILLET1-8/+3
2022-02-27block/rnbd: client device does not care queue/rotationalGioh Kim4-9/+8
2022-02-27block/rnbd-clt: fix CHECK:BRACES warningGioh Kim1-2/+2
2022-02-22scsi: rnbd: Remove WRITE_SAME supportChristoph Hellwig4-14/+3
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-3/+2
2022-02-02rnbd-srv: remove struct rnbd_dev_blk_ioChristoph Hellwig4-38/+7
2022-02-02rnbd-srv: simplify bio mapping in process_rdmaChristoph Hellwig3-69/+16
2022-02-02block: remove genhd.hChristoph Hellwig1-1/+0
2022-01-23Merge tag 'bitmap-5.17-rc1' of git://github.com/norov/linuxLinus Torvalds1-1/+1
2022-01-15all: replace find_next{,_zero}_bit with find_first{,_zero}_bit where appropriateYury Norov1-1/+1
2022-01-13Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds4-12/+12
2022-01-07RDMA/rtrs-clt: Rename rtrs_clt to rtrs_clt_sessVaishali Thakkar2-3/+3
2022-01-07RDMA/rtrs-srv: Rename rtrs_srv to rtrs_srv_sessVaishali Thakkar2-3/+3
2022-01-07RDMA/rtrs-srv: Rename rtrs_srv_sess to rtrs_srv_pathVaishali Thakkar1-6/+6
2022-01-05block/rnbd-clt-sysfs: use default_groups in kobj_typeGreg Kroah-Hartman1-1/+2
2021-11-29block: remove the ->rq_disk field in struct requestChristoph Hellwig1-2/+2
2021-10-21rnbd: add error handling support for add_disk()Luis Chamberlain1-4/+9
2021-10-18block: add a struct io_comp_batch argument to fops->iopoll()Jens Axboe1-1/+1
2021-10-18block: move struct request to blk-mq.hChristoph Hellwig1-1/+1
2021-10-12block/rnbd-clt-sysfs: fix a couple uninitialized variable bugsDan Carpenter1-1/+3
2021-08-02block/rnbd: Use sysfs_emit instead of s*printf function for sysfs showMd Haris Iqbal2-25/+22
2021-08-02block/rnbd-clt: Use put_cpu_ptr after get_cpu_ptrGioh Kim1-1/+1
2021-07-01Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds2-6/+4
2021-06-21rnbd/rtrs-clt: Query and use max_segments from rtrs-clt.Jack Wang2-6/+4
2021-06-11rnbd: use blk_mq_alloc_disk and blk_cleanup_diskChristoph Hellwig1-27/+8
2021-05-03block/rnbd: Remove all likely and unlikelyGioh Kim2-13/+13
2021-05-03block/rnbd-clt: Check the return value of the function rtrs_clt_queryMd Haris Iqbal1-2/+10
2021-05-03block/rnbd: Fix style issuesDima Stepanov1-5/+5
2021-05-03block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_tMd Haris Iqbal1-1/+1
2021-04-20block/rnbd: Use strscpy instead of strlcpyDima Stepanov3-8/+8
2021-04-20block/rnbd-clt-sysfs: Remove copy buffer overlap in rnbd_clt_get_path_nameDima Stepanov1-5/+1
2021-04-20block/rnbd-clt: Remove max_segment_sizeJack Wang1-1/+0
2021-04-20block/rnbd-clt: Generate kobject_uevent when the rnbd device state changesMd Haris Iqbal2-1/+9
2021-04-20block/rnbd-srv: Remove unused arguments of rnbd_srv_rdma_evGioh Kim1-24/+15
2021-04-20block/rnbd-clt: Support polling mode for IO latency optimizationGioh Kim3-20/+129
2021-04-20block/rnbd-clt: Fix missing a memory free when unloading the moduleGioh Kim1-3/+7
2021-04-20block/rnbd-clt: Improve find_or_create_sess() return checkTom Rix1-6/+4
2021-04-20block/rnbd-srv: Remove force_close file after holding a lockGioh Kim3-6/+7
2021-04-20block/rnbd-srv: Prevent a deadlock generated by accessing sysfs in parallelGioh Kim1-1/+3
2021-04-20block/rnbd-clt: Replace {NO_WAIT,WAIT} with RTRS_PERMIT_{WAIT,NOWAIT}Gioh Kim1-25/+17
2021-04-20block/rnbd: Kill destroy_device_cbGuoqing Jiang1-11/+4
2021-04-20block/rnbd: Kill rnbd_clt_destroy_default_groupGuoqing Jiang3-7/+1
2021-04-20block/rnbd-clt: Move add_disk(dev->gd) to rnbd_clt_setup_gen_diskGuoqing Jiang1-2/+1
2021-04-20block/rnbd-clt: Remove some arguments from rnbd_client_setup_deviceGuoqing Jiang1-4/+3
2021-04-20block/rnbd-clt: Remove some arguments from insert_dev_if_not_exists_devpathGuoqing Jiang1-5/+4
2021-01-08block/rnbd-clt: avoid module unload race with close confirmationJack Wang1-1/+2
2021-01-08block/rnbd: Adding name to the Contributors ListSwapnil Ingle1-0/+1
2021-01-08block/rnbd-clt: Fix sg table use after freeGuoqing Jiang1-8/+7
2021-01-08block/rnbd-srv: Fix use after free in rnbd_srv_sess_dev_force_closeJack Wang1-3/+5
2021-01-08block/rnbd: Select SG_POOL for RNBD_CLIENTJack Wang1-0/+1
2020-12-16block/rnbd-clt: Does not request pdu to rtrs-cltGioh Kim1-4/+13
2020-12-16block/rnbd-clt: Dynamically allocate sglist for rnbd_iuGioh Kim2-27/+43
2020-12-16block/rnbd: Set write-back cache and fua same to the target deviceGioh Kim4-6/+22
2020-12-16block/rnbd: Fix typosJack Wang1-3/+3
2020-12-16block/rnbd-srv: Protect dev session sysfs removalMd Haris Iqbal1-1/+2
2020-12-16block/rnbd-clt: Fix possible memleakJack Wang1-2/+3
2020-12-16block/rnbd-clt: Get rid of warning regarding size argument in strlcpyMd Haris Iqbal1-2/+1
2020-12-16Merge tag 'for-5.11/drivers-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds6-30/+117
2020-12-07block/rnbd: fix a null pointer dereference on dev->blk_symlink_nameColin Ian King1-1/+1
2020-12-04block/rnbd-clt: Dynamically alloc buffer for pathname & blk_symlink_nameMd Haris Iqbal3-7/+23
2020-12-04block/rnbd: call kobject_put in the failure pathGuoqing Jiang2-13/+19
2020-12-04block/rnbd-srv: close a mapped device from server side.Lutz Pogrell3-4/+57
2020-12-04block/rnbd-clt: support mapping two devices with the same name from different...Guoqing Jiang2-5/+12
2020-12-04block/rnbd-clt: Make path parameter optional for map_deviceMd Haris Iqbal2-1/+6
2020-11-16rnbd: use set_capacity_and_notifyChristoph Hellwig1-2/+1
2020-10-13block/rnbd-clt: send_msg_close if any error occurs after send_msg_openGioh Kim1-1/+3
2020-10-13block/rnbd-clt: do not cap max_hw_sectors & max_segments with remote deviceJack Wang1-5/+0
2020-10-13block/rnbd-clt: remove nr argument from send_usr_msgGuoqing Jiang1-5/+5
2020-09-03blk-mq: Rename BLK_MQ_F_TAG_SHARED as BLK_MQ_F_TAG_QUEUE_SHAREDMing Lei1-1/+1
2020-09-02block: add a new revalidate_disk_size helperChristoph Hellwig1-8/+2
2020-08-21block/rnbd: Ensure err is always initialized in process_rdmaNathan Chancellor1-1/+2
2020-08-06rnbd: no need to set bi_end_io in rnbd_bio_map_kernGuoqing Jiang1-1/+0
2020-08-06rnbd: remove rnbd_dev_submit_ioGuoqing Jiang3-56/+31
2020-05-22RDMA/rnbd: Fix compilation error when CONFIG_MODULES is disabledDanil Kipnis1-4/+7
2020-05-22block/rnbd: Fix an IS_ERR() vs NULL check in find_or_create_sess()Dan Carpenter1-5/+4
2020-05-19rnbd/rtrs: Pass max segment size from blk user to the rdma libraryDanil Kipnis1-0/+1
2020-05-17block/rnbd: a bit of documentationJack Wang1-0/+92
2020-05-17block/rnbd: include client and server modules into kernel compilationJack Wang2-0/+43
2020-05-17block/rnbd: server: sysfs interface functionsJack Wang1-0/+215
2020-05-17block/rnbd: server: functionality for IO submitting to block devJack Wang2-0/+226
2020-05-17block/rnbd: server: main functionalityJack Wang1-0/+844
2020-05-17block/rnbd: server: private header with server structs and functionsJack Wang1-0/+78
2020-05-17block/rnbd: client: sysfs interface functionsJack Wang1-0/+636
2020-05-17block/rnbd: client: main functionalityJack Wang1-0/+1729
2020-05-17block/rnbd: client: private header with client structs and functionsJack Wang1-0/+156
2020-05-17block/rnbd: private headers with rnbd protocol structs and helpersJack Wang3-0/+367