aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
AgeCommit message (Expand)AuthorFilesLines
2012-10-31MD RAID10: Fix oops when creating RAID10 arrays via dm-raid.cJonathan Brassow1-6/+9
2012-10-13Merge tag 'md-3.7' of git://neil.brown.name/mdLinus Torvalds1-11/+84
2012-10-11md/raid10: use correct limit variableDan Carpenter1-1/+1
2012-10-11Subject: [PATCH] md:change resync_mismatches to atomic64_t to avoid racesJianpeng Ma1-1/+1
2012-10-11MD RAID10: Prep for DM RAID10 device replacement capabilityJonathan Brassow1-1/+1
2012-10-11MD: change the parameter of md threadShaohua Li1-1/+2
2012-10-11md/raid10: submit IO from originating thread instead of md thread.NeilBrown1-3/+54
2012-10-11md: raid 10 supports TRIMShaohua Li1-4/+25
2012-09-27md/raid10: fix "enough" function for detecting if array is failed.NeilBrown1-3/+5
2012-08-18md/raid10: fix problem with on-stack allocation of r10bio structure.NeilBrown1-11/+19
2012-08-01Merge branch 'for-3.6/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+1
2012-07-31md: remove plug_cnt feature of plugging.NeilBrown1-2/+1
2012-07-31MD RAID10: Export md_raid10_congestedJonathan Brassow1-22/+34
2012-07-31MD: Move macros from raid1*.h to raid1*.cJonathan Brassow1-1/+15
2012-07-31MD RAID10: rename mirror_info structureJonathan Brassow1-9/+9
2012-07-31MD RAID10: Fix compiler warning.Jonathan Brassow1-1/+1
2012-07-04md/raid10: fix careless build errorNeilBrown1-1/+1
2012-07-03md: fix up plugging (again).NeilBrown1-6/+6
2012-07-03md: make 'name' arg to md_register_thread non-optional.NeilBrown1-1/+1
2012-07-03md/raid10: fix failure when trying to repair a read error.NeilBrown1-3/+3
2012-07-03md/raid10: Don't try to recovery unmatched (and unused) chunks.NeilBrown1-0/+6
2012-05-31md: raid1/raid10: fix problem with merge_bvec_fnNeilBrown1-0/+4
2012-05-22md/raid10: Remove extras after reshape to smaller number of devices.NeilBrown1-0/+13
2012-05-22md/raid10: resize bitmap when required during reshape.NeilBrown1-13/+24
2012-05-22md: allow array to be resized while bitmap is present.NeilBrown1-2/+8
2012-05-22md/raid10: Fix memleak in r10buf_pool_allocmajianpeng1-3/+4
2012-05-22md/raid10: add reshape supportNeilBrown1-23/+867
2012-05-21md/raid10: split out interpretation of layout to separate function.NeilBrown1-18/+49
2012-05-21md/raid10: Introduce 'prev' geometry to support reshape.NeilBrown1-22/+85
2012-05-21md/raid10: collect some geometry fields into a dedicated structure.NeilBrown1-97/+103
2012-05-21md: add possibility to change data-offset for devices.NeilBrown1-4/+4
2012-05-19md/raid10: fix transcription error in calc_sectors conversion.NeilBrown1-1/+1
2012-05-17md/raid10: set dev_sectors properly when resizing devices in array.NeilBrown1-24/+32
2012-04-12md/raid1,raid10: Fix calculation of 'vcnt' when processing error recovery.majianpeng1-2/+2
2012-04-03md/raid1,raid10: don't compare excess byte during consistency check.NeilBrown1-1/+1
2012-03-19md/raid10 - support resizing some RAID10 arrays.NeilBrown1-0/+38
2012-03-19md/raid10: handle merge_bvec_fn in member devices.NeilBrown1-41/+81
2012-03-19md: tidy up rdev_for_each usage.NeilBrown1-2/+2
2012-03-19md/raid1,raid10: avoid deadlock during resync/recovery.NeilBrown1-2/+15
2012-03-19md: allow re-add to failed arrays.NeilBrown1-1/+1
2012-03-13md/raid10: remove unnecessary smp_mb() from end_sync_writeNeilBrown1-3/+1
2012-03-06md/raid10: fix assembling of arrays with replacement devices.NeilBrown1-1/+0
2012-02-14md/raid10: fix handling of error on last working device in array.NeilBrown1-10/+27
2011-12-23md/raid10: If there is a spare and a want_replacement device, start replacement.NeilBrown1-4/+36
2011-12-23md/raid10: recognise replacements when assembling array.NeilBrown1-0/+17
2011-12-23md/raid10: Allow replacement device to be replace old drive.NeilBrown1-11/+61
2011-12-23md/raid10: handle recovery of replacement devices.NeilBrown1-30/+80
2011-12-23md/raid10: Handle replacement devices during resync.NeilBrown1-7/+98
2011-12-23md/raid10: writes should get directed to replacement as well as original.NeilBrown1-9/+74
2011-12-23md/raid10: allow removal of failed replacement devices.NeilBrown1-25/+32
2011-12-23md/raid10: preferentially read from replacement device if possible.NeilBrown1-13/+23
2011-12-23md/raid10: change read_balance to return an rdevNeilBrown1-14/+13
2011-12-23md/raid10: prepare data structures for handling replacement.NeilBrown1-7/+41
2011-12-23md: change hot_remove_disk to take an rdev rather than a number.NeilBrown1-4/+3
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-11/+8
2011-10-31md: Add module.h to all files using it implicitlyPaul Gortmaker1-0/+1
2011-10-31md/raid10: Fix bug when activating a hot-spare.NeilBrown1-1/+1
2011-10-26md: Fix some bugs in recovery_disabled handling.NeilBrown1-0/+2
2011-10-19Merge branch 'v3.1-rc10' into for-3.2/coreJens Axboe1-26/+26
2011-10-11md: add proper write-congestion reporting to RAID1 and RAID10.NeilBrown1-0/+20
2011-10-11md: rename "mdk_personality" to "md_personality"NeilBrown1-1/+1
2011-10-11md/raid10: typedef removal: conf_t -> struct r10confNeilBrown1-54/+54
2011-10-11md/raid0: typedef removal: raid0_conf_t -> struct r0confNeilBrown1-3/+3
2011-10-11md: remove typedefs: mirror_info_t -> struct mirror_infoNeilBrown1-6/+6
2011-10-11md: remove typedefs: r10bio_t -> struct r10bio and r1bio_t -> struct r1bioNeilBrown1-34/+34
2011-10-11md: remove typedefs: mddev_t -> struct mddevNeilBrown1-27/+27
2011-10-11md: removing typedefs: mdk_rdev_t -> struct md_rdevNeilBrown1-18/+18
2011-09-21md: Avoid waking up a thread after it has been freed.NeilBrown1-3/+2
2011-09-12block: remove support for bio remapping from ->make_requestChristoph Hellwig1-11/+8
2011-09-10md/raid1,10: Remove use-after-free bug in make_request.NeilBrown1-5/+8
2011-09-10md/raid10: unify handling of write completion.NeilBrown1-20/+18
2011-07-28md/raid10: handle further errors during fix_read_error better.NeilBrown1-15/+44
2011-07-28md/raid10: Handle read errors during recovery better.NeilBrown1-33/+121
2011-07-28md/raid10: simplify read error handling during recovery.NeilBrown1-5/+4
2011-07-28md/raid10: record bad blocks due to write errors during resync/recovery.NeilBrown1-10/+23
2011-07-28md/raid10: attempt to fix read errors during resync/checkNeilBrown1-4/+5
2011-07-28md/raid10: Handle write errors by updating badblock log.NeilBrown1-17/+116
2011-07-28md/raid10: clear bad-block record when write succeeds.NeilBrown1-12/+89
2011-07-28md/raid10: avoid writing to known bad blocks on known bad drives.NeilBrown1-12/+93
2011-07-28md/raid10 record bad blocks as needed during recovery.NeilBrown1-8/+32
2011-07-28md/raid10: avoid reading known bad blocks during resync/recovery.NeilBrown1-9/+35
2011-07-28md/raid10 - avoid reading from known bad blocks - part 3NeilBrown1-1/+6
2011-07-28md/raid10: avoid reading from known bad blocks - part 2NeilBrown1-5/+40
2011-07-28md/raid10: avoid reading from known bad blocks - part 1NeilBrown1-16/+125
2011-07-28md/raid10: Split handle_read_error out from raid10d.NeilBrown1-57/+66
2011-07-28md/raid10: simplify/reindent some loops.NeilBrown1-62/+65
2011-07-28md: make it easier to wait for bad blocks to be acknowledged.NeilBrown1-0/+3
2011-07-28md: don't allow arrays to contain devices with bad blocks.NeilBrown1-0/+8
2011-07-27md/raid10: move rdev->corrected_errors countingNamhyung Kim1-1/+1
2011-07-27md/raid10: Improve decision on whether to fail a device with a read error.NeilBrown1-29/+28
2011-07-27md/raid10: Make use of new recovery_disabled handlingNeilBrown1-26/+36
2011-07-27md/raid: use printk_ratelimited instead of printk_ratelimitChristian Dietrich1-10/+13
2011-07-18md/raid10: share pages between read and write bio's during recoveryNamhyung Kim1-11/+12
2011-07-18md/raid10: factor out common bio handling codeNamhyung Kim1-21/+23
2011-07-18md/raid10: get rid of duplicated conditional expressionNamhyung Kim1-2/+1
2011-05-11md/raid10: reformat some loops with less indenting.NeilBrown1-108/+120
2011-05-11md/raid10: remove unused variable.NeilBrown1-3/+0
2011-05-11md/raid10: make more use of 'slot' in raid10d.NeilBrown1-4/+5
2011-05-11md/raid10: some tidying up in fix_read_errorNeilBrown1-40/+34
2011-05-11md: simplify raid10 read_balanceNeilBrown1-66/+44
2011-04-18md: fix up raid1/raid10 unplugging.NeilBrown1-14/+10
2011-04-18md: use new plugging interface for RAID IO.NeilBrown1-0/+3
2011-03-31Fix common misspellingsLucas De Marchi1-3/+3
2011-03-17block: Require subsystems to explicitly allocate bio_set integrity mempoolMartin K. Petersen1-2/+5
2011-03-10Merge branch 'for-2.6.39/stack-plug' into for-2.6.39/coreJens Axboe1-71/+19
2011-03-10block: remove per-queue pluggingJens Axboe1-68/+19
2011-02-21md: avoid spinlock problem in blk_throtl_exitNeilBrown1-3/+4
2011-02-08FIX: md: process hangs at wait_barrier after 0->10 takeoverKrzysztof Wojcik1-2/+4
2011-01-14md-new-param-to_sync_page_ioJonathan Brassow1-6/+6
2011-01-14md: Fix single printks with multiple KERN_<level>sJoe Perches1-2/+3
2010-12-09md: protect against NULL reference when waiting to start a raid10.NeilBrown1-1/+1
2010-10-28md: use separate bio pool for each md device.NeilBrown1-3/+4
2010-10-28md: change type of first arg to sync_page_io.NeilBrown1-3/+3
2010-10-28md: use bio_kmalloc rather than bio_alloc when failure is acceptable.NeilBrown1-1/+1
2010-10-28md: Fix possible deadlock with multiple mempool allocations.NeilBrown1-13/+12
2010-10-28md: use sector_t in bitmap_get_counterNeilBrown1-1/+1
2010-09-10md: implment REQ_FLUSH/FUA supportTejun Heo1-3/+4
2010-08-18md raid-1/10 Fix bio_rw bit manipulations againNeilBrown1-2/+2
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-0/+18
2010-08-07block: unify flags for struct bio and struct requestChristoph Hellwig1-6/+6
2010-08-07md/raid10: fix deadlock with unaligned read during resyncNeilBrown1-0/+18
2010-06-24md: fix raid10 takeover: use new_layout for setup_confMaciej Trela1-8/+7
2010-06-24md: fix handling of array level takeover that re-arranges devices.NeilBrown1-14/+5
2010-06-24md: raid10: Fix null pointer dereference in fix_read_error()Prasanna S. Panchamukhi1-6/+6
2010-05-22Merge commit '3ff195b011d7decf501a4d55aeed312731094796' into for-linusNeilBrown1-0/+1
2010-05-18md: Fix read balancing in RAID1 and RAID10 on drives > 2TBNeilBrown1-1/+1
2010-05-18md/raid10: tidy up printk messages.NeilBrown1-30/+42
2010-05-18md: pass mddev to make_request functions rather than request_queueNeilBrown1-4/+3
2010-05-18md: move io accounting out of personalities into md_make_requestNeilBrown1-7/+0
2010-05-18md: Add support for Raid0->Raid10 takeoverTrela, Maciej1-51/+143
2010-05-18md: don't use mddev->raid_disks in raid0 or raid10 while array is active.NeilBrown1-8/+8
2010-05-18drivers/md: Remove unnecessary casts of void *H Hartley Sweeten1-4/+4
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-16md: deal with merge_bvec_fn in component devices better.NeilBrown1-11/+17
2010-02-26block: Rename blk_queue_max_sectors to blk_queue_max_hw_sectorsMartin K. Petersen1-2/+2
2009-12-14md: add MODULE_DESCRIPTION for all md related modules.NeilBrown1-0/+1
2009-12-14raid: improve MD/raid10 handling of correctable read errors.Robert Becker1-0/+74
2009-12-14md/raid10: print more useful messages on device failure.Robert Becker1-3/+29
2009-12-14md: remove needless setting of thread->timeout in raid10_quiesceNeilBrown1-7/+0
2009-12-14md: change daemon_sleep to be in 'jiffies' rather than 'seconds'.NeilBrown1-1/+1
2009-12-14md: move offset, daemon_sleep and chunksize out of bitmap structureNeilBrown1-1/+1
2009-12-14md: support barrier requests on all personalities.NeilBrown1-1/+1
2009-10-16md: raid1/raid10: handle allocation errors during array setup.NeilBrown1-2/+2
2009-10-16md/raid1/raid10: add a cond_reschedNeilBrown1-0/+1
2009-09-23md: raid-1/10: fix RW bits manipulationDmitry Monakhov1-3/+3
2009-09-23md: report device as congested when suspendedNeilBrown1-0/+2
2009-09-23md: Improve name of threads created by md_register_threadNeilBrown1-1/+1
2009-09-23md: remove sparse waring "symbol xxx shadows an earlier one"NeilBrown1-1/+1
2009-09-11bio: first step in sanitizing the bio->bi_rw flag testingJens Axboe1-3/+3
2009-08-03md: Push down data integrity code to personalities.Andre Noll1-0/+4
2009-07-01md: Use new topology calls to indicate alignment and I/O sizesMartin K. Petersen1-6/+13
2009-06-18md: Push down reconstruction log message to personality code.Andre Noll1-0/+4
2009-06-18md: Make mddev->chunk_size sector-based.Andre Noll1-7/+8
2009-06-16md: raid10: chunk size check in runraz ben yehuda1-2/+3
2009-06-16md: remove mddev_to_conf "helper" macroNeilBrown1-21/+21
2009-05-22block: Use accessor functions for queue limitsMartin K. Petersen1-4/+4
2009-05-07md/raid10: don't clear bitmap during recovery if array will still be degraded.NeilBrown1-6/+6
2009-04-15block: move bio list helpers into bio.hChristoph Hellwig1-1/+0
2009-03-31md: 'array_size' sysfs attributeDan Williams1-1/+1
2009-03-31md: centralize ->array_sectors modificationsDan Williams1-1/+1
2009-03-31md: add 'size' as a personality methodDan Williams1-2/+22
2009-03-31md: enable suspend/resume of md devices.NeilBrown1-0/+3
2009-03-31md: Make mddev->size sector-based.Andre Noll1-3/+3
2009-03-31md: move md_k.h from include/linux/raid/ to drivers/md/NeilBrown1-1/+1
2009-03-31md: move lots of #include lines out of .h files and into .cNeilBrown1-1/+4
2009-03-31md: move headers out of include/linux/raid/Christoph Hellwig1-2/+2
2009-02-25md: avoid races when stopping resync.NeilBrown1-3/+4
2009-02-25md/raid10: Don't call bitmap_cond_end_sync when we are doing recovery.NeilBrown1-2/+2
2009-02-25md/raid10: Don't skip more than 1 bitmap-chunk at a time during recovery.NeilBrown1-4/+4
2009-01-09md: use list_for_each_entry macro directlyCheng Renquan1-2/+1
2008-11-06md: fix bug in raid10 recovery.NeilBrown1-1/+1
2008-10-15md: build failure due to missing delay.hStephen Rothwell1-0/+1
2008-10-13md: Relax minimum size restrictions on chunk_size.NeilBrown1-2/+3
2008-10-09block: mark bio_split_pool staticDenis ChengRq1-1/+1
2008-10-09block: move stats from disk to part0Tejun Heo1-4/+5
2008-10-09block: fix diskstats accessTejun Heo1-2/+5
2008-10-09block: raid fixups for removal of bi_hw_segmentsJens Axboe1-1/+0
2008-10-09drop vmerge accountingMikulas Patocka1-3/+0
2008-08-05Allow raid10 resync to happening in larger chunks.NeilBrown1-4/+5
2008-08-01Merge branch 'for-linus' of git://neil.brown.name/mdLinus Torvalds1-0/+3
2008-08-01md: raid10: wake up frozen arrayArthur Jones1-0/+3
2008-07-21Merge branch 'for-linus' of git://neil.brown.name/mdLinus Torvalds1-8/+14
2008-07-21md: Make mddev->array_size sector-based.Andre Noll1-1/+1
2008-07-03Add bvec_merge_data to handle stacked devices and ->merge_bvec()Alasdair G Kergon1-7/+8
2008-06-28rationalise return value for ->hot_add_disk method.Neil Brown1-5/+5
2008-06-28Support adding a spare to a live md array with external metadata.Neil Brown1-2/+8
2008-06-28Ensure interrupted recovery completed properly (v1 metadata plus bitmap)Neil Brown1-0/+2
2008-05-24md: restart recovery cleanly after device failure.NeilBrown1-2/+12
2008-05-14Remove blkdev warning triggered by using mdNeil Brown1-1/+3
2008-05-08misc: fix integer as NULL pointer warningsHarvey Harrison1-1/+1
2008-04-30md: support blocking writes to an array on device failureDan Williams1-3/+26
2008-04-28raid: remove leading TAB on printk messagesNick Andrew1-2/+2
2008-03-04md: the md RAID10 resync thread could cause a md RAID10 array deadlockK.Tanaka1-0/+2
2008-03-04md: fix possible raid1/raid10 deadlock on read error during resyncNeilBrown1-2/+9
2008-03-04md: don't attempt read-balancing for raid10 'far' layoutsKeld Simonsen1-3/+9
2008-03-04md: fix deadlock in md/raid1 and md/raid10 when handling a read errorNeilBrown1-22/+40
2008-02-06md: change ITERATE_RDEV to rdev_for_eachNeilBrown1-1/+1