aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md-bitmap.c
AgeCommit message (Expand)AuthorFilesLines
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