aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md-bitmap.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-06md/md-llbitmap: introduce new lockless bitmapYu Kuai1-9/+0
2025-09-06md/md-bitmap: support discard for bitmap opsYu Kuai1-0/+3
2025-09-06md: add a new parameter 'offset' to md_super_write()Yu Kuai1-1/+2
2025-09-06md/md-bitmap: introduce CONFIG_MD_BITMAPYu Kuai1-2/+21
2025-09-06md/raid1: check bitmap before behind writeYu Kuai1-6/+0
2025-09-06md/md-bitmap: handle the case bitmap is not enabled before end_sync()Yu Kuai1-4/+0
2025-09-06md/md-bitmap: handle the case bitmap is not enabled before start_sync()Yu Kuai1-7/+1
2025-09-06md/md-bitmap: add md_bitmap_registered/enabled() helperYu Kuai1-12/+4
2025-09-06md/md-bitmap: add a new parameter 'flush' to bitmap_ops->enabledYu Kuai1-6/+13
2025-09-06md/md-bitmap: merge md_bitmap_group into bitmap_operationsYu Kuai1-1/+4
2025-09-06md/md-bitmap: remove the parameter 'init' for bitmap_ops->resize()Yu Kuai1-3/+2
2025-07-31md: rename recovery_cp to resync_offsetLi Nan1-4/+4
2025-07-05md/md-bitmap: fix GPF in bitmap_get_stats()HÃ¥kon Bugge1-2/+1
2025-05-30md/md-bitmap: remove parameter slot from bitmap_create()Yu Kuai1-3/+3
2025-05-30md/md-bitmap: cleanup bitmap_ops->startwrite()Yu Kuai1-9/+8
2025-05-30md/dm-raid: remove max_write_behind setting limitYu Kuai1-0/+10
2025-05-30md/md-bitmap: fix dm-raid max_write_behind settingYu Kuai1-1/+1
2025-04-06md/md-bitmap: fix stats collection for external bitmapsZheng Qixing1-3/+2
2025-03-05md/md-bitmap: fix wrong bitmap_limit for clustermd when write sbSu Yue1-3/+3
2025-03-05md: don't export md_cluster_opsYu Kuai1-3/+3
2025-03-05md: only include md-cluster.h if necessaryYu Kuai1-0/+2
2025-01-24md/md-bitmap: Synchronize bitmap_get_stats() with bitmap lifetimeYu Kuai1-1/+4
2025-01-13md/md-bitmap: remove the last parameter for bimtap_ops->endwrite()Yu Kuai1-9/+10
2025-01-13md/md-bitmap: factor behind write counters out from bitmap_{start/end}write()Yu Kuai1-21/+36
2025-01-13md: Replace deprecated kmap_atomic() with kmap_local_page()David Reaver1-21/+21
2024-11-05md/md-bitmap: Add missing destroy_work_on_stack()Yuan Can1-0/+1
2024-09-16Merge tag 'for-6.12/block-20240913' of git://git.kernel.dk/linuxLinus Torvalds1-136/+432
2024-08-30fs: drop GFP_NOFAIL mode from alloc_page_buffersMichal Hocko1-1/+1
2024-08-27md/md-bitmap: make in memory structure internalYu Kuai1-23/+224
2024-08-27md/md-bitmap: merge md_bitmap_enabled() into bitmap_operationsYu Kuai1-1/+18
2024-08-27md/md-bitmap: merge md_bitmap_wait_behind_writes() into bitmap_operationsYu Kuai1-3/+3
2024-08-27md/md-bitmap: merge md_bitmap_free() into bitmap_operationsYu Kuai1-5/+2
2024-08-27md/md-bitmap: merge md_bitmap_set_pages() into struct bitmap_operationsYu Kuai1-2/+2
2024-08-27md/md-bitmap: merge md_bitmap_copy_from_slot() into struct bitmap_operation.Yu Kuai1-3/+3
2024-08-27md/md-bitmap: merge get_bitmap_from_slot() into bitmap_operationsYu Kuai1-3/+3
2024-08-27md/md-bitmap: merge md_bitmap_resize() into bitmap_operationsYu Kuai1-3/+3
2024-08-27md/md-bitmap: pass in mddev directly for md_bitmap_resize()Yu Kuai1-3/+18
2024-08-27md/md-bitmap: merge md_bitmap_daemon_work() into bitmap_operationsYu Kuai1-4/+5
2024-08-27md/md-bitmap: merge bitmap_unplug() into bitmap_operationsYu Kuai1-2/+2
2024-08-27md/md-bitmap: merge md_bitmap_unplug_async() into md_bitmap_unplug()Yu Kuai1-8/+20
2024-08-27md/md-bitmap: merge md_bitmap_sync_with_cluster() into bitmap_operationsYu Kuai1-4/+5
2024-08-27md/md-bitmap: merge md_bitmap_cond_end_sync() into bitmap_operationsYu Kuai1-2/+4
2024-08-27md/md-bitmap: merge md_bitmap_close_sync() into bitmap_operationsYu Kuai1-3/+6
2024-08-27md/md-bitmap: merge md_bitmap_end_sync() into bitmap_operationsYu Kuai1-4/+4
2024-08-27md/md-bitmap: remove the parameter 'aborted' for md_bitmap_end_sync()Yu Kuai1-4/+11
2024-08-27md/md-bitmap: merge md_bitmap_start_sync() into bitmap_operationsYu Kuai1-16/+20
2024-08-27md/md-bitmap: merge md_bitmap_endwrite() into bitmap_operationsYu Kuai1-3/+6
2024-08-27md/md-bitmap: merge md_bitmap_startwrite() into bitmap_operationsYu Kuai1-2/+6
2024-08-27md/md-bitmap: merge md_bitmap_dirty_bits() into bitmap_operationsYu Kuai1-1/+8
2024-08-27md/md-bitmap: merge bitmap_write_all() into bitmap_operationsYu Kuai1-7/+7
2024-08-27md/md-bitmap: merge md_bitmap_status() into bitmap_operationsYu Kuai1-2/+2
2024-08-27md/md-bitmap: merge md_bitmap_update_sb() into bitmap_operationsYu Kuai1-7/+8
2024-08-27md/md-bitmap: make md_bitmap_print_sb() internalYu Kuai1-3/+2
2024-08-27md/md-bitmap: merge md_bitmap_flush() into bitmap_operationsYu Kuai1-4/+2
2024-08-27md/md-bitmap: merge md_bitmap_destroy() into bitmap_operationsYu Kuai1-3/+4
2024-08-27md/md-bitmap: merge md_bitmap_load() into bitmap_operationsYu Kuai1-3/+3
2024-08-27md/md-bitmap: merge md_bitmap_create() into bitmap_operationsYu Kuai1-2/+3
2024-08-27md/md-bitmap: simplify md_bitmap_create() + md_bitmap_load()Yu Kuai1-8/+15
2024-08-27md/md-bitmap: introduce struct bitmap_operationsYu Kuai1-0/+8
2024-08-27md/md-bitmap: add a new helper md_bitmap_set_pages()Yu Kuai1-0/+6
2024-08-27md/md-bitmap: add 'behind_writes' and 'behind_wait' into struct md_bitmap_statsYu Kuai1-0/+2
2024-08-27md/md-bitmap: add 'file_pages' into struct md_bitmap_statsYu Kuai1-2/+5
2024-08-27md/md-bitmap: add 'sync_size' into struct md_bitmap_statsYu Kuai1-0/+6
2024-08-27md/md-bitmap: add 'events_cleared' into struct md_bitmap_statsYu Kuai1-0/+2
2024-08-27md/md-bitmap: replace md_bitmap_status() with a new helper md_bitmap_get_stats()Yu Kuai1-19/+6
2024-08-27md/raid1: use md_bitmap_wait_behind_writes() in raid1_read_request()Yu Kuai1-0/+1
2024-06-11md/md-bitmap: fix writing non bitmap pagesOfir Gal1-3/+3
2024-05-02md: fix resync softlockup when bitmap size is less than array sizeYu Kuai1-3/+3
2024-03-06md: add a mddev_add_trace_msg helperChristoph Hellwig1-6/+3
2024-02-26md/md-bitmap: fix incorrect usage for sb_indexHeming Zhao1-3/+6
2023-10-10md: cleanup mddev_create/destroy_serial_pool()Yu Kuai1-4/+4
2023-10-10md: use new apis to suspend array before mddev_create/destroy_serial_poolYu Kuai1-4/+4
2023-10-10md/md-bitmap: use new apis to suspend array for location_store()Yu Kuai1-4/+2
2023-09-22md-bitmap: suspend array earlier in location_store()Yu Kuai1-23/+20
2023-09-22md-bitmap: remove the checking of 'pers->quiesce' from location_store()Yu Kuai1-4/+0
2023-07-27md/md-bitmap: hold 'reconfig_mutex' in backlog_store()Yu Kuai1-0/+7
2023-07-27md/md-bitmap: remove unnecessary local variable in backlog_store()Yu Kuai1-2/+0
2023-07-27md: make bitmap file support optionalChristoph Hellwig1-0/+15
2023-07-27md-bitmap: don't use ->index for pages backing the bitmap fileChristoph Hellwig1-27/+38
2023-07-27md-bitmap: account for mddev->bitmap_info.offset in read_sb_pageChristoph Hellwig1-9/+8
2023-07-27md-bitmap: cleanup read_sb_pageChristoph Hellwig1-12/+11
2023-07-27md-bitmap: refactor md_bitmap_init_from_diskChristoph Hellwig1-71/+70
2023-07-27md-bitmap: rename read_page to read_file_pageChristoph Hellwig1-6/+4
2023-07-27md-bitmap: split file writes into a separate helperChristoph Hellwig1-24/+24
2023-07-27md-bitmap: use %pD to print the file name in md_bitmap_file_kickChristoph Hellwig1-10/+2
2023-07-27md-bitmap: initialize variables at declaration time in md_bitmap_file_unmapChristoph Hellwig1-8/+4
2023-07-27md-bitmap: set BITMAP_WRITE_ERROR in write_sb_pageChristoph Hellwig1-13/+8
2023-06-13md/md-bitmap: add a new helper to unplug bitmap asynchrouslyYu Kuai1-0/+29
2023-06-13md/raid1-10: submit write io directly if bitmap is not enabledYu Kuai1-3/+1
2023-06-13md: protect md_thread with rcuYu Kuai1-2/+8
2023-06-13md/bitmap: factor out a helper to set timeoutYu Kuai1-16/+19
2023-06-13md/bitmap: always wake up md_thread in timeout_storeYu Kuai1-3/+3
2023-06-13md/raid10: check slab-out-of-bounds in md_bitmap_get_counterLi Nan1-8/+9
2023-04-28md: Fix bitmap offset type in sb writerJonathan Derrick1-3/+3
2023-04-13md: Use optimal I/O size for last bitmap pageJon Derrick1-4/+29
2023-04-13md: Fix types in sb writerJon Derrick1-21/+14
2023-04-13md: Move sb writer loop to its own functionJon Derrick1-60/+65
2022-11-14md/bitmap: Fix bitmap chunk size overflow issuesFlorian-Ewald Mueller1-8/+12
2022-11-14drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()Li Zhong1-12/+15
2022-07-14fs/buffer: Combine two submit_bh() and ll_rw_block() argumentsBart Van Assche1-2/+2
2022-07-14md/core: Combine two sync_page_io() argumentsBart Van Assche1-1/+1
2022-04-25md: replace deprecated strlcpy & remove duplicated lineHeming Zhao1-2/+1
2022-04-25md/bitmap: don't set sb values if can't pass sanity checkHeming Zhao1-21/+23
2021-11-02md/bitmap: don't set max_write_behind if there is no write mostly deviceGuoqing Jiang1-0/+19
2021-06-14md: Constify attribute_group structsRikard Falkeborn1-1/+1
2021-04-15md/bitmap: wait for external bitmap writes to complete during tear downSudhakar Panneerselvam1-0/+2
2020-10-08md/bitmap: fix memory leak of temporary bitmapZhao Heming1-1/+2
2020-10-08md/bitmap: md_bitmap_get_counter returns wrong blocksZhao Heming1-1/+1
2020-10-08md/bitmap: md_bitmap_read_sb uses wrong bitmap blocksZhao Heming1-2/+2
2020-09-24md: only calculate blocksize once and use i_blocksize()Xianting Tian1-3/+4
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-14md: fix deadlock causing by sysfs_notifyJunxiao Bi1-1/+1
2020-06-02md: remove __clear_page_buffers and use attach/detach_page_privateGuoqing Jiang1-10/+2
2020-02-08Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-6/+10
2020-02-03fs: Enable bmap() function to properly return errorsCarlos Maiolino1-6/+10
2020-01-13md: introduce a new struct for IO serializationGuoqing Jiang1-8/+4
2020-01-13md: don't destroy serial_info_pool if serialize_policy is trueGuoqing Jiang1-4/+8
2020-01-13md: rename wb stuffsGuoqing Jiang1-10/+10
2020-01-13md-bitmap: small cleanupsZhiqiang Liu1-3/+2
2019-10-24md/bitmap: avoid race window between md_bitmap_resize and bitmap_file_clear_bitGuoqing Jiang1-1/+1
2019-06-20md-bitmap: create and destroy wb_info_pool with the change of bitmapGuoqing Jiang1-0/+6
2019-06-20md-bitmap: create and destroy wb_info_pool with the change of backlogGuoqing Jiang1-0/+14
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-10md: use correct types in md_bitmap_print_sbChristoph Hellwig1-4/+4
2018-10-10md/bitmap: use mddev_suspend/resume instead of ->quiesce()Jack Wang1-4/+5
2018-08-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto...Linus Torvalds1-157/+148
2018-08-01md: Avoid namespace collision with bitmap APIAndy Shevchenko1-157/+148
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-2/+2
2017-11-14Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-0/+2610
2017-11-10md: free unused memory after bitmap resizeZdenek Kabelac1-0/+9
2017-11-09md/bitmap: clear BITMAP_WRITE_ERROR bit before writing it to sbHou Tao1-1/+5
2017-11-01md: forbid a RAID5 from having both a bitmap and a journal.NeilBrown1-0/+6
2017-10-16md: rename some drivers/md/ files to have an "md-" prefixMike Snitzer1-0/+2591