aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache
AgeCommit message (Expand)AuthorFilesLines
5 daysMerge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
5 daysMerge tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+0
2024-05-08bcache: fix variable length array abuse in btree_iterMatthew Mirvish6-59/+70
2024-05-08bcache: Remove usage of the deprecated ida_simple_xx() APIChristophe JAILLET1-5/+5
2024-05-03use ->bd_mapping instead of ->bd_inode->i_mappingAl Viro1-1/+1
2024-05-02bcache_register(): don't bother with set_blocksize()Al Viro1-4/+0
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds1-7/+1
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-29/+30
2024-03-06bcache: move calculation of stripe_size and io_opt into bcache_device_initChristoph Hellwig1-6/+5
2024-02-25bcache: port block device access to filesChristian Brauner2-39/+39
2024-02-22bcache: use of hlist_count_nodes()Pierre Gondois1-7/+1
2024-02-19bcache: pass queue_limits to blk_mq_alloc_diskChristoph Hellwig1-22/+24
2024-02-19block: pass a queue_limits argument to blk_alloc_diskChristoph Hellwig1-2/+2
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-1/+0
2023-12-29bcache: use the default discard granularityChristoph Hellwig1-1/+0
2023-12-29bcache: discard_granularity should not be smaller than a sectorChristoph Hellwig1-1/+1
2023-12-02Merge tag 'block-6.7-2023-12-01' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-12-02Merge tag 'bcachefs-2023-11-29' of https://evilpiepirate.org/git/bcachefsLinus Torvalds7-91/+91
2023-11-24bcache: revert replacing IS_ERR_OR_NULL with IS_ERRMarkus Weippert1-1/+1
2023-11-24closures: CLOSURE_CALLBACK() to fix type punningKent Overstreet7-91/+91
2023-11-20bcache: avoid NULL checking to c->root in run_cache_set()Coly Li1-1/+1
2023-11-20bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()Coly Li1-0/+7
2023-11-20bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()Coly Li1-1/+1
2023-11-20bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up raceMingzhe Zou1-1/+2
2023-11-20bcache: fixup lock c->root errorMingzhe Zou1-3/+11
2023-11-20bcache: fixup init dirty data errorsMingzhe Zou1-1/+4
2023-11-20bcache: prevent potential division by zero errorRand Deeb1-1/+1
2023-11-20bcache: remove redundant assignment to variable cur_idxColin Ian King1-1/+1
2023-11-20bcache: check return value from btree_node_alloc_replacement()Coly Li1-0/+2
2023-11-20bcache: avoid oversize memory allocation by small stripe_sizeColy Li2-0/+3
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-13/+19
2023-10-30Merge tag 'bcachefs-2023-10-30' of https://evilpiepirate.org/git/bcachefsLinus Torvalds7-600/+5
2023-10-28bcache: Fixup error handling in register_cache()Jan Kara1-13/+10
2023-10-28bcache: Convert to bdev_open_by_path()Jan Kara2-37/+43
2023-10-19bcache: move closures to lib/Kent Overstreet7-600/+5
2023-10-04bcache: dynamically allocate the md-bcache shrinkerQi Zheng3-13/+19
2023-06-28Merge branch 'for-6.5/block-late' into block-6.5Jens Axboe1-64/+59
2023-06-27Merge tag 'locking-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-3/+24
2023-06-23bcache: Fix bcache device claimingJan Kara1-27/+38
2023-06-23bcache: Alloc holder object before async registrationJan Kara1-41/+25
2023-06-15bcache: fixup btree_cache_wait list damageMingzhe Zou3-1/+21
2023-06-15bcache: Fix __bch_btree_node_alloc to make the failure behavior consistentZheng Wang1-1/+3
2023-06-15bcache: Remove unnecessary NULL point check in node allocationsZheng Wang2-7/+7
2023-06-15bcache: Remove dead references to cache_readaheadsAndrea Tomassetti1-1/+0
2023-06-15bcache: make kobj_type structures constantThomas Weißschuh2-6/+6
2023-06-15bcache: Convert to use sysfs_emit()/sysfs_emit_at() APIsye xingchen1-16/+15
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig3-6/+6
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-8/+7
2023-06-12bcache: don't pass a stack address to 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-05block: introduce holder opsChristoph Hellwig1-1/+1
2023-05-24bcache: Convert to lock_cmp_fnKent Overstreet2-3/+24
2023-04-25block/drivers: remove dead clear of random flagChaitanya Kulkarni1-1/+0
2023-02-25Merge tag 'flex-array-transformations-6.3-rc1' of git://git.kernel.org/pub/sc...Linus Torvalds1-4/+4
2023-01-25bcache: Silence memcpy() run-time false positive warningsKees Cook2-2/+4
2023-01-05bcache: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helperGustavo A. R. Silva1-4/+4
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds3-4/+4
2022-12-07block: remove bio_set_op_attrsChristoph Hellwig3-4/+4
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-09-19bcache: fix set_at_max_writeback_rate() for multiple attached devicesColy Li1-21/+52
2022-09-19bcache:: fix repeated words in commentsJilin Yuan1-1/+1
2022-09-19bcache: bset: Fix comment typosJules Maselbas1-1/+1
2022-09-19bcache: remove unused bch_mark_cache_readahead function def in stats.hLin Feng1-1/+0
2022-09-19bcache: remove unnecessary flush_workqueueLi Lei1-3/+2
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2022-08-02bcache: remove EXPERIMENTAL for Kconfig option 'Asynchronous device registrat...Coly Li1-1/+1
2022-07-14md/bcache: Combine two prio_io() argumentsBart Van Assche1-5/+4
2022-07-14md/bcache: Combine two uuid_io() argumentsBart Van Assche1-8/+8
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin1-1/+1
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-1/+1
2022-06-03Merge tag 'for-5.19/drivers-2022-06-02' of git://git.kernel.dk/linux-blockLinus Torvalds9-113/+130
2022-05-28bcache: avoid unnecessary soft lockup in kworker update_writeback_rate()Coly Li2-10/+28
2022-05-27md: bcache: check the return value of kzalloc() in detached_dev_do_request()Jia-Ju Bai1-0/+6
2022-05-27bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_...Coly Li2-0/+2
2022-05-24bcache: avoid journal no-space deadlock by reserving 1 journal bucketColy Li3-5/+29
2022-05-24bcache: remove incremental dirty sector counting for bch_sectors_dirty_init()Coly Li1-28/+13
2022-05-24bcache: improve multithreaded bch_sectors_dirty_init()Coly Li2-38/+26
2022-05-24bcache: improve multithreaded bch_btree_check()Coly Li2-33/+27
2022-05-23Merge tag 'for-5.19/block-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds5-10/+11
2022-04-19bcache: fix wrong bdev parameter when calling bio_alloc_clone() in do_bio_hook()Coly Li1-1/+1
2022-04-19bcache: put bch_bio_map() back to correct location in journal_write_unlocked()Coly Li1-1/+1
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-1/+1
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig3-5/+4
2022-04-17block: turn bio_kmalloc into a simple kmalloc wrapperChristoph Hellwig1-4/+6
2022-03-28Merge tag 'driver-core-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-7/+13
2022-03-06bcache: fixup multiple threads crashMingzhe Zou2-4/+8
2022-03-06bcache: fixup bcache_dev_sectors_dirty_add() multithreaded CPU false sharingMingzhe Zou1-4/+7
2022-03-04bcache: use bvec_kmap_local in bio_csumChristoph Hellwig1-2/+2
2022-02-04block: pass a block_device to bio_clone_fastChristoph Hellwig1-2/+3
2022-02-04block: initialize the target bio in __bio_clone_fastChristoph Hellwig1-1/+0
2022-02-04block: clone crypto and integrity data in __bio_clone_fastChristoph Hellwig1-1/+1
2022-02-02block: pass a block_device and opf to bio_resetChristoph Hellwig2-10/+6
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig6-14/+11
2022-02-02block: pass a block_device and opf to bio_alloc_biosetChristoph Hellwig1-7/+5
2022-02-02block: remove genhd.hChristoph Hellwig1-1/+0
2022-01-26bcache: use default_groups in kobj_typeGreg Kroah-Hartman3-7/+13
2021-12-14bcache: fix NULL pointer reference in cached_dev_detach_finishLin Feng1-1/+2
2021-11-09Merge tag 'for-5.16/drivers-2021-11-09' of git://git.kernel.dk/linux-blockLinus Torvalds2-2/+2
2021-11-08bcache: Revert "bcache: use bvec_virt"Coly Li1-1/+1
2021-11-03bcache: fix use-after-free problem in bcache_device_free()Coly Li1-1/+1
2021-11-01Merge tag 'for-5.16/bdev-size-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds3-6/+2
2021-10-29bcache: replace snprintf in show functions with sysfs_emitQing Wang2-19/+16
2021-10-29bcache: move uapi header bcache.h to bcache code directoryColy Li5-4/+450
2021-10-21bcache: add error handling support for add_disk()Luis Chamberlain1-5/+12
2021-10-20bcache: remove bch_crc64_updateChristoph Hellwig3-10/+2
2021-10-20bcache: use bvec_kmap_local in bch_data_verifyChristoph Hellwig1-6/+5
2021-10-20bcache: remove the backing_dev_name field from struct cached_devChristoph Hellwig6-39/+29
2021-10-20bcache: remove the cache_dev_name field from struct cacheChristoph Hellwig3-10/+7
2021-10-20bcache: move calc_cached_dev_sectors to proper place on backing device detachLin Feng1-1/+1
2021-10-20bcache: fix error info in register_bcache()Chao Yu1-3/+10
2021-10-20md: bcache: Fix spelling of 'acquire'Ding Senjie1-1/+1
2021-10-18bcache: remove bdev_sectorsChristoph Hellwig3-6/+2
2021-10-18block: switch polling to be bio basedChristoph Hellwig2-10/+7
2021-08-16bcache: use bvec_virtChristoph Hellwig1-1/+1
2021-08-12bcache: move the del_gendisk call out of bcache_device_freeChristoph Hellwig1-6/+4
2021-08-12bcache: add proper error unwinding in bcache_device_initChristoph Hellwig1-5/+11
2021-08-11block: move some macros to blkdev.hGuoqing Jiang1-2/+0
2021-08-09block: make the block holder code optionalChristoph Hellwig1-0/+1
2021-06-30Merge tag 'for-5.14/block-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-11/+4
2021-06-12Merge tag 'block-5.13-2021-06-12' of git://git.kernel.dk/linux-blockLinus Torvalds5-33/+7
2021-06-08bcache: avoid oversized read request in cache missing code pathColy Li1-2/+7
2021-06-08bcache: remove bcache device self-defined readaheadColy Li5-32/+1
2021-06-01bcache: convert to blk_alloc_disk/blk_cleanup_diskChristoph Hellwig1-11/+4
2021-05-06include: remove pagemap.h from blkdev.hMatthew Wilcox (Oracle)1-0/+1
2021-04-11bcache: fix a regression of code compiling failure in debug.cColy Li1-1/+1
2021-04-11bcache: Use 64-bit arithmetic instead of 32-bitGustavo A. R. Silva1-3/+3
2021-04-11md: bcache: Trivial typo fixes in the file journal.cBhaskar Chowdhury1-2/+2
2021-04-11md: bcache: avoid -Wempty-body warningsArnd Bergmann1-1/+1
2021-04-11bcache: use NULL instead of using plain integer as pointerYang Li1-1/+1
2021-04-11bcache: remove PTR_CACHEChristoph Hellwig8-23/+14
2021-04-11bcache: reduce redundant code in bch_cached_dev_run()Zhiqiang Liu1-13/+12
2021-03-11block: rename BIO_MAX_PAGES to BIO_MAX_VECSChristoph Hellwig1-1/+1
2021-02-21Merge tag 'for-5.12/drivers-2021-02-17' of git://git.kernel.dk/linux-blockLinus Torvalds8-12/+131
2021-02-21Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-blockLinus Torvalds3-17/+26
2021-02-10bcache: Avoid comma separated statementsJoe Perches2-6/+12
2021-02-10bcache: Move journal work to new flush wqKai Krakow3-2/+19
2021-02-10bcache: Give btree_io_wq correct semantics againKai Krakow1-1/+1
2021-02-10Revert "bcache: Kill btree_io_wq"Kai Krakow3-2/+25
2021-02-10bcache: Fix register_device_aync typoKai Krakow1-2/+2
2021-02-10bcache: consider the fragmentation when update the writeback ratedongdong tao4-0/+73
2021-01-28bcache: only check feature sets when sb->version >= BCACHE_SB_VERSION_CDEV_WI...Coly Li1-0/+6
2021-01-26bcache: use bio_set_dev to assign ->bi_bdevChristoph Hellwig1-1/+1
2021-01-24bcache: don't pass BIOSET_NEED_BVECS for the 'bio_set' embedded in 'cache_set'Ming Lei1-1/+1
2021-01-24block: use ->bi_bdev for bio based I/O accountingChristoph Hellwig1-13/+21
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig2-4/+5
2021-01-09bcache: set bcache device into read-only mode for BCH_FEATURE_INCOMPAT_OBSO_L...Coly Li1-0/+15
2021-01-09bcache: introduce BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE for large bucketColy Li3-7/+28
2021-01-09bcache: check unsupported feature sets for bcache registerColy Li2-0/+29
2021-01-09bcache: fix typo from SUUP to SUPP in features.hColy Li1-3/+3
2021-01-09bcache: set pdev_set_uuid before scond loop iterationYi Li1-1/+1
2020-12-23md/bcache: convert comma to semicolonZheng Yongjun1-1/+1
2020-12-23bcache:remove a superfluous check in register_bcacheYi Li1-2/+0
2020-12-16Merge tag 'for-5.11/drivers-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds2-9/+9
2020-12-07bcache: fix race between setting bdev state to none and new write request dir...Dongsheng Yang2-9/+9
2020-12-01block: switch partition lookup to use struct block_deviceChristoph Hellwig1-2/+2
2020-12-01block: remove the nr_sects field in struct hd_structChristoph Hellwig1-1/+1
2020-12-01block: remove i_bdevChristoph Hellwig1-9/+11
2020-12-01block: add a bdev_kobj helperChristoph Hellwig1-5/+2
2020-11-16block: remove __blkdev_driver_ioctlChristoph Hellwig1-2/+3
2020-10-02bcache: remove embedded struct cache_sb from struct cache_setColy Li11-59/+46
2020-10-02bcache: check and set sync status on cache's in-memory super blockColy Li4-10/+7
2020-10-02bcache: remove can_attach_cache()Coly Li1-10/+0
2020-10-02bcache: don't check seq numbers in register_cache_set()Coly Li1-15/+0
2020-10-02bcache: only use bucket_bytes() on struct cacheColy Li2-2/+2
2020-10-02bcache: remove useless bucket_pages()Coly Li1-1/+0
2020-10-02bcache: remove useless alloc_bucket_pages()Coly Li1-3/+0
2020-10-02bcache: only use block_bytes() on struct cacheColy Li7-24/+24
2020-10-02bcache: add set_uuid in struct cache_setColy Li3-13/+14
2020-10-02bcache: remove for_each_cache()Coly Li6-294/+237
2020-10-02bcache: explicitly make cache_set only have single cacheColy Li3-17/+12
2020-10-02bcache: remove 'int n' from parameter list of bch_bucket_alloc_set()Coly Li4-24/+19
2020-10-02bcache: Convert to DEFINE_SHOW_ATTRIBUTEQinglang Miao1-13/+3
2020-10-02bcache: check c->root with IS_ERR_OR_NULL() in mca_reserve()Dongsheng Yang1-1/+1
2020-10-02bcache: share register sysfs with async registerColy Li1-5/+7
2020-09-24block: lift setting the readahead size into the block layerChristoph Hellwig1-3/+0
2020-09-24bcache: inherit the optimal I/O sizeChristoph Hellwig1-0/+2
2020-09-11bcache: use part_[begin|end]_io_acct instead of disk_[begin|end]_io_acctSong Liu1-4/+6
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-8/+8
2020-08-05Merge tag 'for-5.9/drivers-20200803' of git://git.kernel.dk/linux-blockLinus Torvalds16-129/+448
2020-07-28bcache: use disk_{start,end}_io_acct() to count I/O for bcache deviceColy Li1-28/+9
2020-07-25bcache: fix bio_{start,end}_io_acct with proper deviceColy Li1-4/+27
2020-07-25bcache: avoid extra memory consumption in struct bbio for large bucket sizeColy Li2-2/+2
2020-07-25bcache: avoid extra memory allocation from mempool c->fill_iterColy Li1-1/+1
2020-07-25bcache: add sysfs file to display feature sets information of cache setColy Li4-1/+73
2020-07-25bcache: add bucket_size_hi into struct cache_sb_disk for large bucketColy Li5-10/+50
2020-07-25bcache: handle btree node memory allocation properly for bucket size > 8MBColy Li1-1/+1
2020-07-25bcache: handle cache set verify_ondisk properly for bucket size > 8MBColy Li1-2/+10
2020-07-25bcache: handle cache prio_buckets and disk_buckets properly for bucket size >...Coly Li2-9/+10
2020-07-25bcache: handle c->uuids properly for bucket size > 8MBColy Li1-4/+6
2020-07-25bcache: introduce meta_bucket_pages() related helper routinesColy Li2-0/+23
2020-07-25bcache: move bucket related code into read_super_common()Coly Li1-5/+5
2020-07-25bcache: increase super block version for cache device and backing deviceColy Li2-3/+107
2020-07-25bcache: fix super block seq numbers comparision in register_cache_set()Coly Li1-1/+8
2020-07-25bcache: disassemble the big if() checks in bch_cache_set_alloc()Coly Li1-15/+37
2020-07-25bcache: add more accurate error information in read_super_common()Coly Li1-5/+14
2020-07-25bcache: add read_super_common() to read major part of super blockColy Li1-48/+63
2020-07-25bcache: fix overflow in offset_to_stripe()Coly Li3-8/+27
2020-07-25bcache: avoid nr_stripes overflow in bcache_device_init()Coly Li1-6/+6