aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
AgeCommit message (Expand)AuthorFilesLines
2012-10-13Merge tag 'md-3.7' of git://neil.brown.name/mdLinus Torvalds1-22/+197
2012-10-11md/raid5: be careful not to resize_stripes too big.NeilBrown1-1/+2
2012-10-11Subject: [PATCH] md:change resync_mismatches to atomic64_t to avoid racesJianpeng Ma1-2/+2
2012-10-11md/raid5: make sure to_read and to_write never go negative.NeilBrown1-4/+1
2012-10-11md: When RAID5 is dirty, force reconstruct-write instead of read-modify-write.Alexander Lyakas1-3/+16
2012-10-11md/raid5: protect debug message against NULL derefernce.NeilBrown1-1/+1
2012-10-11md/raid5: add some missing locking in handle_failed_stripe.NeilBrown1-0/+2
2012-10-11MD: raid5 avoid unnecessary zero page for trimShaohua Li1-18/+17
2012-10-11MD: raid5 trim supportShaohua Li1-3/+165
2012-10-11MD: change the parameter of md threadShaohua Li1-1/+2
2012-09-24md/raid5: add missing spin_lock_init.NeilBrown1-0/+1
2012-09-19md/raid5: fix calculate of 'degraded' when a replacement becomes active.NeilBrown1-0/+4
2012-09-19Revert "md/raid5: For odirect-write performance, do not set STRIPE_PREREAD_AC...NeilBrown1-1/+1
2012-08-02Merge tag 'md-3.6' of git://neil.brown.name/mdLinus Torvalds1-16/+91
2012-08-02raid5: raid5d handle stripe in batch wayShaohua Li1-13/+32
2012-08-02raid5: make_request use batch stripe releaseShaohua Li1-3/+59
2012-08-01Merge branch 'for-3.6/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+2
2012-07-31md: remove plug_cnt feature of plugging.NeilBrown1-3/+2
2012-07-31md/raid5: For odirect-write performance, do not set STRIPE_PREREAD_ACTIVE.majianpeng1-1/+1
2012-07-31raid5: Add R5_ReadNoMerge flag which prevent bio from merging at block layermajianpeng1-2/+12
2012-07-19raid5: add a per-stripe lockShaohua Li1-16/+19
2012-07-19raid5: remove unnecessary bitmap write optimizationShaohua Li1-12/+9
2012-07-19raid5: lockless access raid5 overrided bi_phys_segmentsShaohua Li1-30/+32
2012-07-19raid5: reduce chance release_stripe() taking device_lockShaohua Li1-34/+41
2012-07-03md: fix up plugging (again).NeilBrown1-5/+1
2012-07-03raid5: delayed stripe fixShaohua Li1-1/+3
2012-07-03md/raid456: When read error cannot be recovered, record bad blockmajianpeng1-4/+11
2012-07-03md: make 'name' arg to md_register_thread non-optional.NeilBrown1-1/+3
2012-07-03md/raid5: fix refcount problem when blocked_rdev is set.NeilBrown1-2/+12
2012-07-03md/raid5: In ops_run_io, inc nr_pending before calling md_wait_for_blocked_rdevmajianpeng1-0/+6
2012-07-03md/raid5: Do not add data_offset before call to is_badblockmajianpeng1-2/+3
2012-07-03md/raid5: prefer replacing failed devices over want-replacement devices.NeilBrown1-5/+8
2012-05-22md/raid5: improve removal of extra devices after reshape.NeilBrown1-5/+5
2012-05-22md/raid5: Allow reshape while a bitmap is present.NeilBrown1-3/+3
2012-05-22md: allow array to be resized while bitmap is present.NeilBrown1-4/+10
2012-05-22raid5: support sync requestShaohua Li1-2/+10
2012-05-22raid5: remove unused variablesShaohua Li1-4/+0
2012-05-21md/raid5: allow for change in data_offset while managing a reshape.NeilBrown1-33/+76
2012-05-21md/raid5: Use correct data_offset for all IO.NeilBrown1-13/+59
2012-05-21md: add possibility to change data-offset for devices.NeilBrown1-3/+7
2012-05-21md: allow a reshape operation to be reversed.NeilBrown1-11/+12
2012-04-03md/raid5: Fix a bug about judging if the operation is syncing or replacingmajianpeng1-1/+3
2012-04-03md/raid5: fix handling of bad blocks during recovery.NeilBrown1-26/+29
2012-03-19md: tidy up rdev_for_each usage.NeilBrown1-4/+4
2012-03-19md: allow re-add to failed arrays.NeilBrown1-1/+1
2012-03-13md/raid5: use atomic_dec_return() instead of atomic_dec() and atomic_read().majianpeng1-4/+3
2012-03-13md/raid5: removed unused 'added_devices' variable.NeilBrown1-5/+2
2012-03-13md/raid5: make sure reshape_position is cleared on error path.NeilBrown1-0/+1
2011-12-23md/raid5: Mark device want_replacement when we see a write error.NeilBrown1-0/+3
2011-12-23md/raid5: If there is a spare and a want_replacement device, start replacement.NeilBrown1-2/+14
2011-12-23md/raid5: recognise replacements when assembling array.NeilBrown1-6/+31
2011-12-23md/raid5: handle activation of replacement device when recovery completes.NeilBrown1-7/+62
2011-12-23md/raid5: detect and handle replacements during recovery.NeilBrown1-29/+94
2011-12-23md/raid5: writes should get directed to replacement as well as original.NeilBrown1-23/+96
2011-12-23md/raid5: allow removal for failed replacement devices.NeilBrown1-26/+32
2011-12-23md/raid5: preferentially read from replacement device if possible.NeilBrown1-15/+54
2011-12-23md/raid5: remove redundant bio initialisations.NeilBrown1-8/+1
2011-12-23md/raid5: allow each slot to have an extra replacement deviceNeilBrown1-2/+13
2011-12-23md: change hot_remove_disk to take an rdev rather than a number.NeilBrown1-5/+5
2011-12-23md/raid5: be more thorough in calculating 'degraded' value.NeilBrown1-30/+33
2011-12-23md/raid5: ensure correct assessment of drives during degraded reshape.NeilBrown1-4/+10
2011-12-09md: raid5 crash during degradationAdam Kwolek1-2/+2
2011-12-08md/raid5: never wait for bad-block acks on failed device.NeilBrown1-1/+3
2011-11-08md/raid5: STRIPE_ACTIVE has lock semantics, add barriersDan Williams1-2/+2
2011-11-08md/raid5: abort any pending parity operations when array fails.NeilBrown1-4/+8
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
2011-11-04Merge branch 'for-3.2/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+3
2011-10-31md: Add module.h to all files using it implicitlyPaul Gortmaker1-0/+1
2011-10-26md: Fix some bugs in recovery_disabled handling.NeilBrown1-0/+1
2011-10-26md/raid5: fix bug that could result in reads from a failed device.NeilBrown1-1/+1
2011-10-19Merge branch 'v3.1-rc10' into for-3.2/coreJens Axboe1-5/+3
2011-10-11md: rename "mdk_personality" to "md_personality"NeilBrown1-4/+4
2011-10-11md/raid5: typedef removal: raid5_conf_t -> struct r5confNeilBrown1-79/+79
2011-10-11md/raid0: typedef removal: raid0_conf_t -> struct r0confNeilBrown1-4/+4
2011-10-11md: remove typedefs: mddev_t -> struct mddevNeilBrown1-40/+40
2011-10-11md: removing typedefs: mdk_rdev_t -> struct md_rdevNeilBrown1-17/+17
2011-10-07md: remove some old DEBUGging code.NeilBrown1-57/+0
2011-10-07md/raid5: convert to macros into inline functions.NeilBrown1-3/+14
2011-10-07md/raid5: remove pointless NULL test.NeilBrown1-4/+2
2011-09-21md: Avoid waking up a thread after it has been freed.NeilBrown1-4/+2
2011-09-12block: remove support for bio remapping from ->make_requestChristoph Hellwig1-5/+3
2011-08-31md/raid5: fix a hang on device failure.NeilBrown1-1/+1
2011-07-28md/raid5: Clear bad blocks on successful write.NeilBrown1-1/+18
2011-07-28md/raid5. Don't write to known bad block on doubtful devices.NeilBrown1-1/+30
2011-07-28md/raid5: write errors should be recorded as bad blocks if possible.NeilBrown1-2/+31
2011-07-28md/raid5: use bad-block log to improve handling of uncorrectable read errors.NeilBrown1-7/+52
2011-07-28md/raid5: avoid reading from known bad blocks.NeilBrown1-14/+32
2011-07-28md: make it easier to wait for bad blocks to be acknowledged.NeilBrown1-0/+4
2011-07-28md: don't allow arrays to contain devices with bad blocks.NeilBrown1-0/+7
2011-07-27md/raid5: Avoid BUG caused by multiple failures.NeilBrown1-1/+5
2011-07-27md/raid5: move rdev->corrected_errors countingNamhyung Kim1-4/+1
2011-07-27md: introduce link/unlink_rdev() helpersNamhyung Kim1-7/+3
2011-07-27md/raid: use printk_ratelimited instead of printk_ratelimitChristian Dietrich1-22/+25
2011-07-27md/raid5: finalise new merged handle_stripe.NeilBrown1-102/+13
2011-07-27md/raid5: move some more common code into handle_stripeNeilBrown1-113/+67
2011-07-27md/raid5: move more common code into handle_stripeNeilBrown1-100/+61
2011-07-27md/raid5: unite handle_stripe_dirtying5 and handle_stripe_dirtying6NeilBrown1-56/+21
2011-07-27md/raid5: unite fetch_block5 and fetch_block6NeilBrown1-84/+23
2011-07-27md/raid5: rearrange a test in fetch_block6.NeilBrown1-7/+5
2011-07-27md/raid5: move more code into common handle_stripeNeilBrown1-58/+32
2011-07-27md/raid5: Move code for finishing a reconstruction into handle_stripe.NeilBrown1-96/+57
2011-07-27md/raid5: Remove stripe_head_state arg from handle_stripe_expansion.NeilBrown1-5/+4
2011-07-26md/raid5: move stripe_head_state and more code into handle_stripe.NeilBrown1-182/+158
2011-07-26md/raid5: add some more fields to stripe_head_stateNeilBrown1-30/+24
2011-07-26md/raid5: unify stripe_head_state and r6_stateNeilBrown1-39/+38
2011-07-26md/raid5: move common code into handle_stripeNeilBrown1-12/+6
2011-07-26md/raid5: replace sh->lock with an 'active' flag.NeilBrown1-13/+13
2011-07-26md/raid5: Protect some more code with ->device_lock.NeilBrown1-14/+16
2011-07-26md/raid5: Remove use of sh->lock in sync_requestNeilBrown1-4/+9
2011-07-18md/raid5: get rid of duplicated call to bio_data_dir()Namhyung Kim1-2/+2
2011-07-18md/raid5: use kmem_cache_zalloc()Namhyung Kim1-5/+3
2011-06-14md/raid5: remove unusual use of bio_iovec_idx()Namhyung Kim1-3/+3
2011-06-14md/raid5: fix FUA request handling in ops_run_io()Namhyung Kim1-3/+3
2011-06-14md/raid5: fix raid5_set_bi_hw_segmentsNamhyung Kim1-1/+1
2011-06-09MD: raid5 do not set fullsyncJonathan Brassow1-1/+1
2011-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2011-05-11md: allow resync_start to be set while an array is active.NeilBrown1-1/+2
2011-05-11md: make error_handler functions more uniform and correct.NeilBrown1-20/+18
2011-05-10md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').Jesper Juhl1-1/+1
2011-04-21raid5: fix build error, sector_t usageRandy Dunlap1-1/+1
2011-04-20md: Fix dev_sectors on takeover from raid0 to raid4/5NeilBrown1-0/+4
2011-04-20md/raid5: remove setting of ->queue_lockNeilBrown1-1/+0
2011-04-18md: incorporate new plugging into raid5.NeilBrown1-7/+16
2011-04-18md - remove old plugging code.NeilBrown1-29/+8
2011-04-18md: use new plugging interface for RAID IO.NeilBrown1-0/+3
2011-03-10block: remove per-queue pluggingJens Axboe1-54/+8
2011-01-31md: don't abort checking spares as soon as one cannot be added.NeilBrown1-2/+1
2011-01-31md: fix the test for finding spares in raid5_start_reshape.NeilBrown1-2/+2
2011-01-31md: simplify some 'if' conditionals in raid5_start_reshape.NeilBrown1-27/+28
2011-01-14md/raid5: handle manually-added spares in start_reshape.NeilBrown1-2/+7
2011-01-14md: Don't let implementation detail of curr_resync leak out through sysfs.NeilBrown1-2/+2
2011-01-14md/raid5: use sysfs_notify_dirent_safe to avoid NULL pointerJonathan Brassow1-1/+1
2011-01-14md: Fix single printks with multiple KERN_<level>sJoe Perches1-1/+0
2010-10-28md: use separate bio pool for each md device.NeilBrown1-2/+2
2010-10-28md: use sector_t in bitmap_get_counterNeilBrown1-1/+1
2010-09-10md: implment REQ_FLUSH/FUA supportTejun Heo1-22/+21
2010-08-18md: provide appropriate return value for spare_active functions.NeilBrown1-5/+7
2010-08-18md: Notify sysfs when RAID1/5/10 disk is In_sync.Adrian Drzewiecki1-0/+1
2010-08-10Merge branch 'for-linus' of git://neil.brown.name/mdLinus Torvalds1-66/+102
2010-08-07block: unify flags for struct bio and struct requestChristoph Hellwig1-1/+1
2010-07-26md/raid5: export raid5 unplugging interface.NeilBrown1-19/+18
2010-07-26md/plug: optionally use plugger to unplug an array during resync/recovery.NeilBrown1-0/+1
2010-07-26md/raid5: add simple plugging infrastructure.NeilBrown1-14/+25
2010-07-26md/raid5: export is_congested testNeilBrown1-7/+15
2010-07-26raid5: Don't set read-ahead when there is no queueNeilBrown1-15/+17
2010-07-26md/raid5: ensure we create a unique name for kmem_cache when mddev has no gen...NeilBrown1-4/+8
2010-07-21md/raid5: factor out code for changing size of stripe cache.NeilBrown1-13/+26
2010-07-21md: reduce dependence on sysfs.NeilBrown1-5/+3
2010-06-24md/raid5: don't include 'spare' drives when reshaping to fewer devices.NeilBrown1-2/+7
2010-06-24md/raid5: add a missing 'continue' in a loop.NeilBrown1-1/+3
2010-06-24md/raid5: Allow recovered part of partially recovered devices to be in-syncNeilBrown1-12/+30
2010-06-24md/raid5: More careful check for "has array failed".NeilBrown1-4/+71
2010-06-24md: Don't update ->recovery_offset when reshaping an array to fewer devices.NeilBrown1-0/+1
2010-06-24md/raid5: avoid oops when number of devices is reduced then increased.NeilBrown1-9/+10
2010-05-27md: convert cpu notifier to return encapsulate errno valueAkinobu Mita1-1/+1
2010-05-22Merge commit '3ff195b011d7decf501a4d55aeed312731094796' into for-linusNeilBrown1-28/+25
2010-05-18md/raid6: Fix raid-6 read-error correction in degraded stateGabriele A. Trombetti1-1/+1
2010-05-18md/raid5: improve consistency of error messages.NeilBrown1-80/+69
2010-05-18md/raid4: permit raid0 takeoverDan Williams1-15/+17
2010-05-18md: pass mddev to make_request functions rather than request_queueNeilBrown1-5/+3
2010-05-18md: remove ->changed and related code.NeilBrown1-2/+0
2010-05-18md: move io accounting out of personalities into md_make_requestNeilBrown1-7/+1
2010-05-18md/raid5: small tidyup in raid5_align_endioNeilBrown1-2/+2
2010-05-18md: add support for raid5 to raid4 conversionNeilBrown1-0/+13
2010-05-18md:Add support for Raid0->Raid5 takeoverTrela Maciej1-0/+26
2010-05-18drivers/md: Remove unnecessary casts of void *H Hartley Sweeten1-5/+5
2010-05-17md: manage redundancy group in sysfs when changing level.NeilBrown1-2/+5
2010-05-07md/raid6: Fix raid-6 read-error correction in degraded stateGabriele A. Trombetti1-1/+1
2010-04-23md/raid5: fix previous patch.NeilBrown1-17/+18
2010-04-20md/raid5: allow for more than 2^31 chunks.NeilBrown1-12/+7
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-03Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/...Linus Torvalds1-1/+1
2010-02-26block: Consolidate phys_segment and hw_segment limitsMartin K. Petersen1-1/+1
2010-02-17percpu: add __percpu sparse annotations to what's leftTejun Heo1-1/+1
2010-02-10md: fix some lockdep issues between md and sysfs.NeilBrown1-2/+1
2010-02-09md: fix 'degraded' calculation when starting a reshape.NeilBrown1-4/+7
2009-12-14md: add MODULE_DESCRIPTION for all md related modules.NeilBrown1-0/+1
2009-12-14md/raid5: don't complete make_request on barrier until writes are scheduledNeilBrown1-12/+39
2009-12-14md: support barrier requests on all personalities.NeilBrown1-1/+7
2009-12-14md/raid5: remove some sparse warnings.NeilBrown1-2/+1
2009-11-13md/raid5: Allow dirty-degraded arrays to be assembled when only party is degr...NeilBrown1-4/+75
2009-11-13Don't unconditionally set in_sync on newly added device in raid5_reshapeNeilBrown1-2/+4
2009-11-06md/raid5: make sure curr_sync_completes is uptodate when reshape startsNeilBrown1-0/+2
2009-10-19md/raid6: kill a gcc-4.0.1 'uninitialized variable' warningDan Williams1-3/+3
2009-10-16md/async: don't pass a memory pointer as a page pointer.NeilBrown1-2/+2
2009-10-16md: Fix handling of raid5 array which is being reshaped to fewer devices.NeilBrown1-19/+18
2009-10-16md: fix problems with RAID6 calculations for DDF.NeilBrown1-7/+13
2009-10-16md/raid456: downlevel multicore operations to raid_run_opsDan Williams1-35/+40
2009-10-16md/raid5: initialize conf->device_lock earlierDan Williams1-13/+12
2009-10-16Revert "md: do not progress the resync process if the stripe was blocked"NeilBrown1-13/+6
2009-09-23Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/asy...NeilBrown1-562/+913
2009-09-23md: report device as congested when suspendedNeilBrown1-0/+3
2009-09-23md: Improve name of threads created by md_register_threadNeilBrown1-3/+3
2009-09-23md: remove sparse waring "symbol xxx shadows an earlier one"NeilBrown1-4/+5
2009-09-16md/raid6: cleanup ops_run_compute6_2Dan Williams1-12/+15
2009-09-16md/raid6: eliminate BUG_ON with side effectDan Williams1-2/+4
2009-09-11bio: first step in sanitizing the bio->bi_rw flag testingJens Axboe1-1/+1
2009-09-08Merge commit 'md/for-linus' into async-tx-nextDan Williams1-22/+65
2009-09-08Merge branch 'dmaengine' into async-tx-nextDan Williams1-108/+115
2009-09-08dmaengine: add fence supportDan Williams1-14/+23