aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5-cache.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-27md/raid5: remove rcu protection to access rdev from confYu Kuai1-9/+2
2023-10-10md: rename __mddev_suspend/resume() back to mddev_suspend/resume()Yu Kuai1-2/+2
2023-10-10md/raid5-cache: use new apis to suspend arrayYu Kuai1-11/+8
2023-10-10md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'Yu Kuai1-22/+25
2023-08-15md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()Yu Kuai1-2/+1
2023-08-15md: Hold mddev->reconfig_mutex when trying to get mddev->sync_threadLi Lingfeng1-1/+1
2023-08-15md/raid5-cache: fix a deadlock in r5l_exit_log()Yu Kuai1-3/+6
2023-06-13md: protect md_thread with rcuYu Kuai1-9/+13
2023-05-31md: raid5-log: use __bio_add_page to add single pageJohannes Thumshirn1-1/+1
2022-11-14md/raid5: use bdev_write_cache instead of open coding itChristoph Hellwig1-4/+1
2022-11-14raid5-cache: use try_cmpxchg in r5l_wake_reclaimUros Bizjak1-2/+3
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-09-22md: Fix spelling mistake in comments of r5l_logZhou nan1-1/+1
2022-09-22md/raid5: Cleanup prototype of raid5_get_active_stripe()Logan Gunthorpe1-1/+2
2022-09-22md/raid5: Fix spelling mistakes in commentsXU pengfei1-3/+3
2022-08-02md/raid5-cache: Annotate pslot with __rcu notationLogan Gunthorpe1-2/+2
2022-08-02md/raid5-cache: Clear conf->log after finishing workLogan Gunthorpe1-2/+3
2022-08-02md/raid5-cache: Drop RCU usage of conf->logLogan Gunthorpe1-11/+5
2022-08-02md/raid5-cache: Take mddev_lock in r5c_journal_mode_show()Logan Gunthorpe1-6/+9
2022-07-14md/core: Combine two sync_page_io() argumentsBart Van Assche1-6/+6
2022-05-22md: remove most calls to bdevnameChristoph Hellwig1-3/+2
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-3/+3
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-1/+1
2022-03-08raid5-cache: statically allocate the recovery ra bioChristoph Hellwig1-15/+13
2022-03-08raid5-cache: fully initialize flush_bio when neededChristoph Hellwig1-2/+3
2022-02-02block: pass a block_device and opf to bio_resetChristoph Hellwig1-6/+3
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig1-1/+1
2022-02-02block: pass a block_device and opf to bio_alloc_biosetChristoph Hellwig1-4/+4
2021-03-11block: rename BIO_MAX_PAGES to BIO_MAX_VECSChristoph Hellwig1-2/+2
2020-08-02raid5-cache: hold spinlock instead of mutex in r5c_journal_mode_showGuoqing Jiang1-6/+3
2020-07-21md/raid456: convert macro STRIPE_* to RAID5_STRIPE_*Yufen Yu1-4/+4
2020-07-15md: raid5-cache: Remove set but unused variableDamien Le Moal1-3/+1
2020-07-14md/raid5-cache: clear MD_SB_CHANGE_PENDING before flushing stripesSong Liu1-0/+7
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288Thomas Gleixner1-10/+1
2019-01-28md/raid5: fix 'out of memory' during raid cache recoveryAlexei Naberezhnov1-11/+22
2018-10-10md: remove redundant code that is no longer reachableColin Ian King1-2/+0
2018-08-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto...Linus Torvalds1-4/+4
2018-08-01md: Avoid namespace collision with bitmap APIAndy Shevchenko1-4/+4
2018-07-05md/r5cache: remove redundant pointer bioColin Ian King1-2/+0
2018-05-30md: convert to bioset_init()/mempool_init()Kent Overstreet1-21/+22
2018-01-15raid5-ppl: PPL support for disks with write-back cache enabledTomasz Majchrzak1-5/+0
2017-12-20md/r5cache: print more info of log recoverySong Liu1-2/+2
2017-12-11md: introduce new personality funciton start()Song Liu1-5/+17
2017-12-01md/r5cache: move mddev_lock() out of r5c_journal_mode_set()Song Liu1-13/+9
2017-11-01md: use lockdep_assert_heldShaohua Li1-6/+6
2017-11-01md: remove special meaning of ->quiesce(.., 2)NeilBrown1-6/+6
2017-11-01md: always hold reconfig_mutex when calling mddev_suspend()NeilBrown1-5/+13
2017-10-16md: rename some drivers/md/ files to have an "md-" prefixMike Snitzer1-1/+1
2017-09-07Merge tag 'md/4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-2/+10
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+3
2017-08-25md/r5cache: call mddev_lock/unlock() in r5c_journal_mode_showSong Liu1-2/+10
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-3/+3
2017-08-08md/r5cache: fix io_unit handling in r5l_log_endio()Song Liu1-9/+31
2017-08-08md/r5cache: call mddev_lock/unlock() in r5c_journal_mode_setSong Liu1-6/+15
2017-06-18blk: replace bioset_create_nobvec() with a flags arg to bioset_create()NeilBrown1-1/+1
2017-06-12Merge tag 'v4.12-rc5' into for-4.13/blockJens Axboe1-2/+2
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-2/+2
2017-05-31md: Make flush bios explicitely syncJan Kara1-2/+2
2017-05-11md/r5cache: handle sync with data in write back cacheSong Liu1-1/+7
2017-05-11md/r5cache: gracefully handle journal device errors for writeback modeSong Liu1-2/+9
2017-05-10md/raid5-cache: in r5l_do_submit_io(), submit io->split_bio firstSong Liu1-9/+19
2017-05-03Merge tag 'for-4.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-28/+34
2017-03-27md: add raid4/5/6 journal mode switching APIHeinz Mauelshagen1-28/+34
2017-03-25md/raid5-cache: fix payload endianness problem in raid5-cacheJason Yan1-9/+9
2017-03-22md/raid5: use bio_inc_remaining() instead of repurposing bi_phys_segments as ...NeilBrown1-2/+1
2017-03-22md/raid5: call bio_endio() directly rather than queueing for later.NeilBrown1-8/+5
2017-03-22md/raid5: use md_write_start to count stripes, not biosNeilBrown1-1/+1
2017-03-16md/r5cache: generate R5LOG_PAYLOAD_FLUSHSong Liu1-3/+42
2017-03-16md/r5cache: handle R5LOG_PAYLOAD_FLUSH in recoverySong Liu1-6/+41
2017-03-16raid5: separate header for log functionsArtur Paszkiewicz1-4/+13
2017-03-16md/r5cache: improve recovery with read ahead page poolSong Liu1-46/+175
2017-03-16md/raid5-cache: bump flush stripe batch sizeShaohua Li1-3/+3
2017-02-13md/raid5-cache: exclude reclaiming stripes in reclaim checkShaohua Li1-2/+12
2017-02-13md/raid5-cache: stripe reclaim only counts valid stripesShaohua Li1-2/+2
2017-02-13md/r5cache: improve journal device efficiencySong Liu1-11/+25
2017-02-13md/r5cache: enable chunk_aligned_read with write back cacheSong Liu1-17/+154
2017-01-24md/r5cache: disable write back for degraded arraySong Liu1-0/+46
2017-01-24md/r5cache: flush data only stripes in r5l_recovery_log()Song Liu1-16/+40
2017-01-24md/r5cache: read data into orig_page for prexor of cached dataSong Liu1-0/+2
2017-01-24md/raid5-cache: delete meaningless codeShaohua Li1-2/+0
2017-01-05md/r5cache: fix spelling mistake on "recoverying"Colin Ian King1-1/+1
2017-01-05md/r5cache: assign conf->log before r5l_load_log()Song Liu1-1/+3
2017-01-05md/r5cache: simplify handling of sh->log_start in recoverySong Liu1-15/+12
2017-01-05md/raid5-cache: removes unnecessary write-through mode judgmentsJackieLiu1-3/+0
2016-12-13Merge branch 'md-next' into md-linusShaohua Li1-214/+1619
2016-12-13Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+3
2016-12-08md: separate flags for superblock changesShaohua Li1-3/+3
2016-12-08md/r5cache: after recovery, increase journal seq by 10000Song Liu1-7/+7
2016-12-08md/raid5-cache: fix crc in rewrite_data_only_stripes()Song Liu1-4/+6
2016-12-08md/raid5-cache: no recovery is required when create super-blockJackieLiu1-2/+8
2016-12-05md/r5cache: do r5c_update_log_state after log recoveryZhengyuan Liu1-5/+3
2016-12-05md/raid5-cache: adjust the write position of the empty block if no data blocksJackieLiu1-4/+16
2016-12-02md/r5cache: run_no_space_stripes() when R5C_LOG_CRITICAL == 0Song Liu1-1/+13
2016-11-29md/raid5-cache: do not need to set STRIPE_PREREAD_ACTIVE repeatedlyJackieLiu1-2/+0
2016-11-29md/raid5-cache: remove the unnecessary next_cp_seq field from the r5l_logJackieLiu1-2/+0
2016-11-29md/raid5-cache: release the stripe_head at the appropriate locationJackieLiu1-6/+7
2016-11-29md/raid5-cache: use ring add to prevent overflowJackieLiu1-1/+1
2016-11-29md/raid5-cache: remove unnecessary function parametersJackieLiu1-8/+4
2016-11-29raid5-cache: don't set STRIPE_R5C_PARTIAL_STRIPE flag while load stripe into ...Zhengyuan Liu1-3/+1
2016-11-29raid5-cache: add another check conditon before replaying one stripeZhengyuan Liu1-2/+2
2016-11-27md/r5cache: enable IRQs on error pathDan Carpenter1-1/+1
2016-11-27md/r5cache: handle alloc_page failureSong Liu1-1/+26
2016-11-23raid5-cache: suspend reclaim thread instead of shutdownShaohua Li1-13/+5
2016-11-22block: bio: pass bvec table to bio_init()Ming Lei1-1/+1
2016-11-18md/r5cache: handle FLUSH and FUASong Liu1-18/+144
2016-11-18md/r5cache: r5cache recovery: part 2Song Liu1-186/+24
2016-11-18md/r5cache: r5cache recovery: part 1Song Liu1-0/+602
2016-11-18md/r5cache: refactoring journal recovery codeSong Liu1-9/+18
2016-11-18md/r5cache: sysfs entry journal_modeSong Liu1-0/+65
2016-11-18md/r5cache: write-out phase and reclaim supportSong Liu1-30/+381
2016-11-18md/r5cache: caching phase of r5cacheSong Liu1-9/+233
2016-11-18md/r5cache: State machine for raid5-cache write back modeSong Liu1-3/+140
2016-11-18md/r5cache: Check array size in r5l_init_logSong Liu1-10/+16
2016-11-17raid5-cache: fix lockdep warningShaohua Li1-2/+14
2016-11-07raid5-cache: restrict the use area of the log_offset variableJackieLiu1-11/+8
2016-11-01block,fs: use REQ_* flags directlyChristoph Hellwig1-2/+2
2016-10-28raid5-cache: correct condition for empty metadata writeShaohua Li1-1/+1
2016-10-24md/raid5: write an empty meta-block when creating log super-blockZhengyuan Liu1-0/+1
2016-10-24md/raid5: initialize next_checkpoint field before useZhengyuan Liu1-0/+3
2016-08-31raid5-cache: fix a deadlock in superblock writeShaohua Li1-31/+15
2016-08-07block: rename bio bi_rw to bi_opfJens Axboe1-1/+1
2016-06-07block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSHMike Christie1-1/+1
2016-06-07md: use bio op accessorsMike Christie1-10/+16
2016-06-07block/fs/drivers: remove rw argument from submit_bioMike Christie1-3/+4
2016-05-19Merge tag 'md/4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-2/+2
2016-05-09md: set MD_CHANGE_PENDING in a atomic regionGuoqing Jiang1-2/+2
2016-04-13block: kill off q->flush_flagsJens Axboe1-1/+2
2016-01-14raid5-cache: handle journal hotadd in quiesceShaohua Li1-0/+7
2016-01-14md: set MD_HAS_JOURNAL in correct placesShaohua Li1-0/+1
2016-01-06raid5: allow r5l_io_unit allocations to failChristoph Hellwig1-10/+57
2016-01-06raid5-cache: use a mempool for the metadata blockChristoph Hellwig1-2/+12
2016-01-06raid5-cache: use a bio_setChristoph Hellwig1-1/+15
2016-01-06raid5-cache: add journal hot add/remove supportShaohua Li1-4/+12
2016-01-06raid5-cache: free meta_page earlierChristoph Hellwig1-7/+2
2016-01-06raid5-cache: simplify r5l_move_io_unit_listChristoph Hellwig1-17/+15
2015-11-01raid5-cache: start raid5 readonly if journal is missingShaohua Li1-1/+2
2015-11-01raid5-cache: IO error handlingShaohua Li1-1/+14
2015-11-01raid5-cache: add trim support for logShaohua Li1-1/+62
2015-11-01raid5-cache: use bio chainingChristoph Hellwig1-22/+16
2015-11-01raid5-cache: small log->seq cleanupChristoph Hellwig1-2/+1
2015-11-01raid5-cache: new helper: r5_reserve_log_entryChristoph Hellwig1-11/+19
2015-11-01raid5-cache: inline r5l_alloc_io_unit into r5l_new_metaChristoph Hellwig1-18/+8
2015-11-01raid5-cache: take rdev->data_offset into account early onChristoph Hellwig1-5/+2
2015-11-01raid5-cache: refactor bio allocationChristoph Hellwig1-25/+20
2015-11-01raid5-cache: clean up r5l_get_metaChristoph Hellwig1-8/+4
2015-11-01raid5-cache: simplify state machine when caches flushes are not neededChristoph Hellwig1-4/+29
2015-11-01raid5-cache: factor out a helper to run all stripes for an I/O unitChristoph Hellwig1-10/+13
2015-11-01raid5-cache: rename flushed_ios to finished_iosChristoph Hellwig1-7/+7
2015-11-01raid5-cache: free I/O units earlierChristoph Hellwig1-89/+54
2015-11-01raid5-cache: move reclaim stop to quiesceShaohua Li1-12/+18
2015-11-01raid5-cache: don't delay stripe captured in logShaohua Li1-0/+5
2015-11-01raid5-cache: check stripe finish out of orderShaohua Li1-0/+5
2015-11-01raid5-cache: optimize FLUSH IO with log enabledShaohua Li1-0/+18
2015-11-01raid5-cache: move functionality out of __r5l_set_io_unit_stateChristoph Hellwig1-41/+38
2015-11-01raid5-cache: fix a user-after-free bugShaohua Li1-11/+7
2015-11-01raid5-cache: switching to state machine for log disk cache flushShaohua Li1-51/+65
2015-11-01raid5-cache: use crc32c checksumShaohua Li1-10/+10
2015-10-24raid5: log recoveryShaohua Li1-3/+240
2015-10-24raid5: log reclaim supportShaohua Li1-1/+259
2015-10-24raid5: add basic stripe logShaohua Li1-0/+608