aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
AgeCommit message (Expand)AuthorFilesLines
2017-11-01md: remove special meaning of ->quiesce(.., 2)NeilBrown1-12/+6
2017-11-01md: move suspend_hi/lo handling into core md codeNeilBrown1-22/+0
2017-11-01md: forbid a RAID5 from having both a bitmap and a journal.NeilBrown1-0/+7
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-18raid5: Set R5_Expanded on parity devices as well as data.NeilBrown1-1/+4
2017-10-16md: rename some drivers/md/ files to have an "md-" prefixMike Snitzer1-1/+1
2017-09-27md/raid5: cap worker countShaohua Li1-2/+5
2017-09-19Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-3/+10
2017-09-07Merge tag 'md/4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-10/+6
2017-09-05md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_listDennis Yang1-1/+2
2017-09-05md/raid5: fix a race condition in stripe batchShaohua Li1-2/+8
2017-08-28md: Runtime support for multiple pplsPawel Baldysiak1-0/+1
2017-08-25raid5: remove raid5_build_blockGuoqing Jiang1-10/+1
2017-08-24md/raid5: release/flush io in raid5_do_work()Song Liu1-0/+4
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-6/+6
2017-08-23raid5: remove a call to get_start_sectChristoph Hellwig1-1/+3
2017-07-24md/raid5: add thread_group worker async_tx_issue_pending_allOfer Heifetz1-0/+2
2017-07-21md: simplify code with bio_io_errorGuoqing Jiang1-6/+3
2017-07-10Raid5 should update rdev->sectors after reshapeXiao Ni1-3/+1
2017-07-08Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-9/+13
2017-06-18blk: replace bioset_create_nobvec() with a flags arg to bioset_create()NeilBrown1-1/+1
2017-06-13md: don't use flush_signals in userspace processesMikulas Patocka1-1/+4
2017-06-13md: fix deadlock between mddev_suspend() and md_write_start()NeilBrown1-8/+9
2017-06-12Merge tag 'v4.12-rc5' into for-4.13/blockJens Axboe1-4/+17
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-11/+11
2017-06-05md: initialise ->writes_pending in personality modules.NeilBrown1-0/+3
2017-05-24md: report sector of stripes with check mismatchesNix1-4/+14
2017-05-11md/r5cache: handle sync with data in write back cacheSong Liu1-6/+15
2017-05-11md/r5cache: gracefully handle journal device errors for writeback modeSong Liu1-6/+23
2017-05-08md: don't return -EAGAIN in md_allow_write for external metadata arraysArtur Paszkiewicz1-9/+3
2017-05-04md/raid5: make use of spin_lock_irq over local_irq_disable + spin_lockJulia Cartwright1-10/+7
2017-05-01Merge branch 'md-next' into md-linusShaohua Li1-234/+409
2017-04-25md: clear WantReplacement once disk is removedGuoqing Jiang1-6/+3
2017-04-11md/raid5: make chunk_aligned_read() split bios more cleanly.NeilBrown1-16/+17
2017-04-10raid5-ppl: partial parity calculation optimizationArtur Paszkiewicz1-3/+3
2017-04-10raid5-ppl: use resize_stripes() when enabling or disabling pplArtur Paszkiewicz1-50/+38
2017-04-10md/raid6: Fix anomily when recovering a single device in RAID6.NeilBrown1-1/+12
2017-04-10md: update slab_cache before releasing new stripes when stripes resizingDennis Yang1-2/+4
2017-04-08block: remove the discard_zeroes_data flagChristoph Hellwig1-34/+16
2017-04-08md: support REQ_OP_WRITE_ZEROESChristoph Hellwig1-0/+1
2017-04-07block: trace completion of all bios.NeilBrown1-2/+0
2017-03-27md/raid5: use consistency_policy to remove journal featureSong Liu1-10/+36
2017-03-23md: fix several trivial typos in commentsZhilong Liu1-3/+3
2017-03-22md/raid5: don't test ->writes_pending in raid5_remove_diskNeilBrown1-1/+4
2017-03-22Revert "md/raid5: limit request size according to implementation limits"NeilBrown1-9/+0
2017-03-22md/raid5: remove over-loading of ->bi_phys_segments.NeilBrown1-12/+12
2017-03-22md/raid5: use bio_inc_remaining() instead of repurposing bi_phys_segments as ...NeilBrown1-44/+13
2017-03-22md/raid5: call bio_endio() directly rather than queueing for later.NeilBrown1-28/+10
2017-03-22md/raid5: simplfy delaying of writes while metadata is updated.NeilBrown1-23/+8
2017-03-22md/raid5: use md_write_start to count stripes, not biosNeilBrown1-14/+13
2017-03-16raid5-ppl: runtime PPL enabling or disablingArtur Paszkiewicz1-0/+53
2017-03-16raid5-ppl: support disk hot add/remove with PPLArtur Paszkiewicz1-1/+11
2017-03-16raid5-ppl: load and recover the logArtur Paszkiewicz1-1/+4
2017-03-16raid5-ppl: Partial Parity Log write logging implementationArtur Paszkiewicz1-3/+61
2017-03-16raid5: separate header for log functionsArtur Paszkiewicz1-35/+13
2017-03-16md/raid5: sort biosShaohua Li1-25/+113
2017-03-16md/raid5: prioritize stripes for writebackShaohua Li1-9/+39
2017-03-14md/r5cache: fix set_syndrome_sources() for data in cacheSong Liu1-1/+2
2017-03-09md: move funcs from pers->resize to update_sizeGuoqing Jiang1-2/+0
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+2
2017-02-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-24/+105
2017-02-17Merge branch 'for-4.11/next' into for-4.11/linus-mergeJens Axboe1-6/+6
2017-02-16md/raid5: Don't reinvent the wheel but use existing llist APIByungchul Park1-4/+2
2017-02-15md: fast clone bio in bio_clone_mddev()Ming Lei1-2/+2
2017-02-13md/raid5-cache: exclude reclaiming stripes in reclaim checkShaohua Li1-0/+2
2017-02-13md/r5cache: improve journal device efficiencySong Liu1-9/+33
2017-02-13md/r5cache: enable chunk_aligned_read with write back cacheSong Liu1-7/+13
2017-02-13raid5: only dispatch IO from raid5d for harddisk raidShaohua Li1-2/+53
2017-02-02block: Use pointer to backing_dev_info from request_queueJan Kara1-6/+6
2017-01-24md/r5cache: disable write back for degraded arraySong Liu1-7/+8
2017-01-24md/r5cache: shift complex rmw from read path to write pathSong Liu1-4/+45
2017-01-24md/raid5: move comment of fetch_block to right locationSong Liu1-7/+6
2017-01-24md/r5cache: read data into orig_page for prexor of cached dataSong Liu1-9/+35
2017-01-09md/raid5: Use correct IS_ERR() variation on pointer checkJes Sorensen1-1/+1
2017-01-05md: cleanup mddev flag clear for takeoverShaohua Li1-1/+4
2016-12-13Merge branch 'md-next' into md-linusShaohua Li1-242/+381
2016-12-08md: separate flags for superblock changesShaohua Li1-13/+13
2016-12-08md: takeover should clear unrelated bitsShaohua Li1-1/+5
2016-11-29md/raid5: limit request size according to implementation limitsKonstantin Khlebnikov1-0/+9
2016-11-27md/r5cache: handle alloc_page failureSong Liu1-12/+66
2016-11-22block: bio: pass bvec table to bio_init()Ming Lei1-7/+2
2016-11-18md/r5cache: handle FLUSH and FUASong Liu1-0/+12
2016-11-18md/r5cache: r5cache recovery: part 2Song Liu1-1/+2
2016-11-18md/r5cache: sysfs entry journal_modeSong Liu1-0/+1
2016-11-18md/r5cache: write-out phase and reclaim supportSong Liu1-0/+21
2016-11-18md/r5cache: caching phase of r5cacheSong Liu1-22/+130
2016-11-18md/r5cache: State machine for raid5-cache write back modeSong Liu1-4/+41
2016-11-18md/r5cache: move some code to raid5.hSong Liu1-71/+0
2016-11-07md/raid5: change printk() to pr_*()NeilBrown1-121/+86
2016-11-07raid5: revert commit 11367799f3d1Tomasz Majchrzak1-3/+1
2016-11-01block,fs: use REQ_* flags directlyChristoph Hellwig1-1/+1
2016-10-07Merge tag 'md/4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-2/+9
2016-10-03Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-55/+29
2016-09-21raid5: handle register_shrinker failureShaohua Li1-1/+1
2016-09-21raid5: fix to detect failure of register_shrinkerChao Yu1-1/+6
2016-09-21raid5: allow arbitrary max_hw_sectorsShaohua Li1-0/+2
2016-09-09raid5: fix a small race conditionShaohua Li1-2/+2
2016-09-06md/raid5: Convert to hotplug state machineSebastian Andrzej Siewior1-55/+29
2016-08-31raid5: guarantee enough stripes to avoid reshape hangShaohua Li1-0/+10
2016-08-30Merge tag 'md/4.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-21/+43
2016-08-24raid5: avoid unnecessary bio data setShaohua Li1-8/+5
2016-08-24raid5: fix memory leak of bio integrity dataShaohua Li1-7/+15
2016-08-24r5cache: set MD_JOURNAL_CLEAN correctlySong Liu1-5/+8
2016-08-07block: rename bio bi_rw to bi_opfJens Axboe1-10/+10
2016-08-05md: Prevent IO hold during accessing to faulty raid5 arrayAlexey Obitotskiy1-1/+3
2016-08-01raid5: fix incorrectly counter of conf->empty_inactive_list_nrZhengYuan Liu1-0/+12
2016-07-28Merge branch 'mymd/for-next' into mymd/for-linusShaohua Li1-18/+27
2016-07-20block: get rid of bio_rw and READAChristoph Hellwig1-1/+1
2016-06-13md: reduce the number of synchronize_rcu() calls when multiple devices fail.NeilBrown1-6/+9
2016-06-13md: be extra careful not to take a reference to a Faulty device.NeilBrown1-1/+2
2016-06-13md/raid5: add rcu protection to rdev accesses in raid5_status.NeilBrown1-4/+6
2016-06-13md/raid5: add rcu protection to rdev accesses in want_replaceNeilBrown1-3/+4
2016-06-13md/raid5: add rcu protection to rdev accesses in handle_failed_sync.NeilBrown1-2/+4
2016-06-07block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSHMike Christie1-1/+1
2016-06-07block, drivers, fs: shrink bi_rw from long to intMike Christie1-3/+3
2016-06-07md: use bio op accessorsMike Christie1-20/+20
2016-05-25right meaning of PARITY_ENABLE_RMW and PARITY_PREFER_RMWSong Liu1-2/+2
2016-05-09md: set MD_CHANGE_PENDING in a atomic regionGuoqing Jiang1-2/+2
2016-05-09md: raid5: add prerequisite to run underneath dm-raidHeinz Mauelshagen1-2/+4
2016-04-29raid5: delete unnecessary warnningShaohua Li1-2/+0
2016-03-17md/raid5: Cleanup cpu hotplug notifierAnna-Maria Gleixner1-0/+2
2016-03-09md/raid5: output stripe state for debugShaohua Li1-4/+6
2016-03-09md/raid5: preserve STRIPE_PREREAD_ACTIVE in break_stripe_batch_listNeilBrown1-1/+1
2016-02-26RAID5: revert e9e4c377e2f563 to fix a livelockShaohua Li1-19/+8
2016-02-26RAID5: check_reshape() shouldn't call mddev_suspendShaohua Li1-0/+18
2016-02-25md/raid5: Compare apples to apples (or sectors to sectors)Jes Sorensen1-2/+2
2016-01-20MD: rename some functionsShaohua Li1-22/+23
2016-01-06raid5-cache: add journal hot add/remove supportShaohua Li1-8/+26
2016-01-06md/raid5: remove redundant check in stripe_add_to_batch_list()Roman Gushchin1-2/+0
2015-11-04Merge tag 'md/4.4' of git://neil.brown.name/mdLinus Torvalds1-57/+132
2015-11-01MD: set journal disk ->raid_diskShaohua Li1-2/+4
2015-11-01raid5-cache: start raid5 readonly if journal is missingShaohua Li1-0/+7
2015-11-01raid5-cache: IO error handlingShaohua Li1-1/+3
2015-11-01raid5: journal disk can't be removedShaohua Li1-0/+11
2015-11-01raid5-cache: move reclaim stop to quiesceShaohua Li1-0/+1
2015-11-01raid5-cache: optimize FLUSH IO with log enabledShaohua Li1-2/+9
2015-11-01raid5-cache: switching to state machine for log disk cache flushShaohua Li1-1/+6
2015-11-01raid5: enable log for raid array with cache diskShaohua Li1-0/+11
2015-11-01raid5: don't allow resize/reshape with cache(log) supportShaohua Li1-0/+14
2015-11-01raid5: disable batch with log enabledShaohua Li1-0/+4
2015-10-31md/raid5: fix locking in handle_stripe_clean_event()Roman Gushchin1-2/+4
2015-10-24raid5: log reclaim supportShaohua Li1-0/+6
2015-10-24raid5: add basic stripe logShaohua Li1-0/+4
2015-10-24raid5: add a new state for stripe log handlingShaohua Li1-0/+3
2015-10-24raid5: export some functionsShaohua Li1-51/+49
2015-10-12md-cluster: Use a small window for resyncGoldwyn Rodrigues1-1/+1
2015-10-02md: drop null test before destroy functionsJulia Lawall1-2/+1
2015-10-02md/raid5: don't index beyond end of array in need_this_block().NeilBrown1-2/+2
2015-10-02raid5: update analysis state for failed stripeShaohua Li1-0/+4
2015-09-05Merge linux-block/for-4.3/core into md/for-linuxNeilBrown1-86/+61
2015-09-02Merge branch 'for-4.3/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-86/+61
2015-08-31md/raid5: ensure device failure recorded before write request returns.NeilBrown1-1/+23
2015-08-31md/raid5: use bio_list for the list of bios to return.NeilBrown1-26/+15
2015-08-31md/raid5: handle possible race as reshape completes.NeilBrown1-0/+5
2015-08-31md: be careful when testing resync_max against curr_resync_completed.NeilBrown1-1/+2
2015-08-31md/raid5: remove incorrect "min_t()" when calculating writepos.NeilBrown1-1/+6
2015-08-31md/raid5: strengthen check on reshape_position at run.NeilBrown1-15/+14
2015-08-31md/raid5: switch to use conf->chunk_sectors in place of mddev->chunk_sectors ...NeilBrown1-14/+14
2015-08-31md/raid5: always set conf->prev_chunk_sectors and ->prev_algoNeilBrown1-0/+3
2015-08-31md/raid5: consider updating reshape_position at start of reshape.NeilBrown1-2/+6
2015-08-13block: kill merge_bvec_fn() completelyKent Overstreet1-32/+0
2015-08-13md/raid5: get rid of bio_fits_rdev()Kent Overstreet1-22/+1
2015-08-13md/raid5: split bio for chunk_aligned_readMing Lin1-5/+32
2015-08-11block: don't access bio->bi_error after bio_put()Sasha Levin1-1/+2
2015-08-03md/raid5: don't let shrink_slab shrink too far.NeilBrown1-2/+3
2015-07-29block: manipulate bio->bi_flags through helpersJens Axboe1-1/+1
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-26/+26
2015-07-24md/raid5: clear R5_NeedReplace when no longer needed.NeilBrown1-1/+3
2015-07-22md/raid5: avoid races when changing cache size.NeilBrown1-6/+25
2015-06-17md/raid5: ignore released_stripes checkShaohua Li1-2/+2
2015-06-17md/raid5: per hash value and exclusive wait_for_stripeYuanhan Liu1-8/+19
2015-06-17md/raid5: split wait_for_stripe and introduce wait_for_quiescentYuanhan Liu1-6/+9
2015-06-12md: make sure MD_RECOVERY_DONE is clear before starting recovery/resyncNeilBrown1-0/+1
2015-05-28md/raid5: break stripe-batches when the array has failed.NeilBrown1-0/+1
2015-05-28md/raid5: call break_stripe_batch_list from handle_stripe_clean_eventNeilBrown1-57/+4
2015-05-28md/raid5: be more selective about distributing flags across batch.NeilBrown1-11/+44
2015-05-28md/raid5: add handle_flags arg to break_stripe_batch_list.NeilBrown1-4/+8
2015-05-28md/raid5: duplicate some more handle_stripe_clean_event code in break_stripe_...NeilBrown1-3/+16
2015-05-28md/raid5: remove condition test from check_break_stripe_batch_list.NeilBrown1-8/+4
2015-05-28md/raid5: Ensure a batch member is not handled prematurely.NeilBrown1-1/+5
2015-05-28md/raid5: close race between STRIPE_BIT_DELAY and batching.NeilBrown1-3/+22
2015-05-28md/raid5: ensure whole batch is delayed for all required bitmap updates.NeilBrown1-0/+9
2015-05-21raid5: fix broken async operation chainShaohua Li1-1/+1
2015-05-08md/raid5: fix handling of degraded stripes in batches.NeilBrown1-14/+3
2015-05-08md/raid5: fix allocation of 'scribble' array.NeilBrown1-22/+43
2015-05-08md/raid5: don't record new size if resize_stripes fails.NeilBrown1-1/+2
2015-05-08md/raid5: avoid reading parity blocks for full-stripe write to degraded arrayNeilBrown1-1/+3
2015-05-08md/raid5: more incorrect BUG_ON in handle_stripe_fill.NeilBrown1-1/+1
2015-05-08md/raid5: new alloc_stripe() to allocate an initialize a stripe.NeilBrown1-14/+18
2015-04-22md/raid5: don't do chunk aligned read on degraded array.Eric Mei1-3/+12
2015-04-22md/raid5: allow the stripe_cache to grow and shrink.NeilBrown1-7/+61
2015-04-22md/raid5: change ->inactive_blocked to a bit-flag.NeilBrown1-5/+8
2015-04-22md/raid5: move max_nr_stripes management into grow_one_stripe and drop_one_st...NeilBrown1-33/+24
2015-04-22md/raid5: pass gfp_t arg to grow_one_stripe()NeilBrown1-7/+7
2015-04-22md/raid5: introduce configuration option rmw_levelMarkus Stockhausen1-0/+44
2015-04-22md/raid5: activate raid6 rmw featureMarkus Stockhausen1-26/+78
2015-04-22raid5: handle expansion/resync case with stripe batchingshli@kernel.org1-8/+16
2015-04-22raid5: handle io error of batch listshli@kernel.org1-0/+48
2015-04-22RAID5: batch adjacent full stripe writeshli@kernel.org1-25/+332
2015-04-22raid5: track overwrite disk countshli@kernel.org1-1/+13