aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.c
AgeCommit message (Expand)AuthorFilesLines
2017-10-16md: rename some drivers/md/ files to have an "md-" prefixMike Snitzer1-2591/+0
2017-10-16md/bitmap: revert a patchShaohua Li1-2/+2
2017-08-31md/bitmap: disable bitmap_resize for file-backed bitmaps.NeilBrown1-0/+5
2017-08-24md/bitmap: copy correct data for bitmap superShaohua Li1-2/+2
2017-07-10md/bitmap: don't read page from device with Bitmap_syncGuoqing Jiang1-1/+2
2017-05-24md: uuid debug statement now in processor byte order.Kyungchan Koh1-4/+4
2017-03-23md: fix several trivial typos in commentsZhilong Liu1-1/+1
2017-03-16md: move bitmap_destroy to the beginning of __md_stopGuoqing Jiang1-0/+16
2017-03-16md-cluster: introduce cluster_check_sync_sizeGuoqing Jiang1-10/+31
2016-12-08md: separate flags for superblock changesShaohua Li1-2/+2
2016-11-22md: Use REQ_FAILFAST_* on metadata writes where appropriateNeilBrown1-3/+12
2016-11-18md/bitmap: add blktrace event for writes to the bitmapNeilBrown1-1/+10
2016-11-07md/bitmap: Don't write bitmap while earlier writes might be in-flightNeilBrown1-5/+22
2016-11-07md/bitmap: change all printk() to pr_*()NeilBrown1-57/+50
2016-11-07md/bitmap: call bitmap_file_unmap once bitmap_storage_alloc returns -ENOMEMGuoqing Jiang1-1/+3
2016-09-21md/bitmap: fix wrong cleanupShaohua Li1-3/+1
2016-08-05MD: hold mddev lock to change bitmap locationShaohua Li1-14/+33
2016-06-07md: use bio op accessorsMike Christie1-1/+1
2016-06-07fs: have submit_bh users pass in op and flags separatelyMike Christie1-2/+2
2016-05-09md-cluster: gather resync infos and enable recv_thread after bitmap is readyGuoqing Jiang1-0/+3
2016-05-04md-cluster: fix ifnullfree.cocci warningskbuild test robot1-2/+1
2016-05-04md-cluster/bitmap: unplug bitmap to sync dirty pages to diskGuoqing Jiang1-5/+5
2016-05-04md-cluster/bitmap: fix wrong page num in bitmap_file_clear_bit and bitmap_fil...Guoqing Jiang1-3/+13
2016-05-04md-cluster/bitmap: fix wrong calcuation of offsetGuoqing Jiang1-1/+1
2016-05-04md-cluster: sync bitmap when node received RESYNCING msgGuoqing Jiang1-0/+21
2016-05-04md-cluster: always setup in-memory bitmapGuoqing Jiang1-2/+35
2016-04-09Merge tag 'md/4.6-rc2-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/s...Linus Torvalds1-8/+11
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2016-04-01md/bitmap: clear bitmap if bitmap_create failedGuoqing Jiang1-8/+11
2016-03-14md/bitmap: remove redundant return in bitmap_checkpageGuoqing Jiang1-1/+0
2016-03-07md/bitmap: remove redundant checkEric Engestrom1-2/+1
2016-01-24md-cluster: delete useless codeShaohua Li1-4/+0
2015-10-12md-cluster: Use a small window for resyncGoldwyn Rodrigues1-2/+2
2015-10-12md: Increment version for clustered bitmapsGoldwyn Rodrigues1-6/+4
2015-10-02md/bitmap: don't pass -1 to bitmap_storage_alloc.NeilBrown1-1/+2
2015-07-25Merge tag 'md/4.2-fixes' of git://neil.brown.name/mdLinus Torvalds1-11/+17
2015-07-24md-cluster: fix bitmap sub-offset in bitmap_read_sbGoldwyn Rodrigues1-7/+4
2015-07-24md: Skip cluster setup in case of error while reading bitmapGoldwyn Rodrigues1-1/+1
2015-07-23md: Skip cluster setup for dm-raidGoldwyn Rodrigues1-3/+12
2015-07-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2015-06-23vfs: add seq_file_path() helperMiklos Szeredi1-1/+1
2015-06-23vfs: add file_path() helperMiklos Szeredi1-1/+1
2015-05-21md/bitmap: remove rcu annotation from pointer arithmetic.NeilBrown1-1/+6
2015-04-22md-cluster: re-add capabilitiesGoldwyn Rodrigues1-9/+11
2015-03-25md: Fix bitmap offset calculationsGoldwyn Rodrigues1-4/+3
2015-03-04md/bitmap: use sector_div for sector_t divisionsStephen Rothwell1-2/+3
2015-03-04md/bitmap: fix incorrect DIV_ROUND_UP usage.NeilBrown1-2/+2
2015-02-23Copy set bits from another slotGoldwyn Rodrigues1-1/+77
2015-02-23bitmap_create returns bitmap pointerGoldwyn Rodrigues1-24/+36
2015-02-23Use separate bitmaps for each nodes in the clusterGoldwyn Rodrigues1-10/+57
2015-02-23Add node recovery callbacksGoldwyn Rodrigues1-0/+1
2015-02-23Introduce md_cluster_infoGoldwyn Rodrigues1-1/+8
2015-02-06md: remove mddev_lock() from md_attr_show()NeilBrown1-3/+10
2015-02-06md/bitmap: protect clearing of ->bitmap by mddev->lockNeilBrown1-0/+2
2015-02-02md/bitmap: fix a might_sleep() warning.NeilBrown1-0/+13
2014-10-09md/bitmap: always wait for writes on unplug.NeilBrown1-10/+6
2014-05-29md/bitmap: remove confusing code from filemap_get_page.NeilBrown1-5/+1
2014-04-09md/bitmap: don't abuse i_writecount for bitmap files.NeilBrown1-1/+0
2013-12-11kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordinglyTejun Heo1-1/+1
2013-09-26sysfs: clean up sysfs_get_dirent()Tejun Heo1-2/+2
2013-06-14md: replace strict_strto*() with kstrto*()Jingoo Han1-4/+4
2013-04-24md: use set_bit_le and clear_bit_leAkinobu Mita1-2/+2
2013-02-22new helper: file_inode(file)Al Viro1-2/+2
2012-10-11md/bitmap:Don't use IS_ERR to judge alloc_page().Jianpeng Ma1-6/+2
2012-10-11raid: replace list_for_each_continue_rcu with new interfaceMichael Wang1-6/+3
2012-08-02md/raid1: submit IO from originating thread instead of md thread.NeilBrown1-1/+1
2012-05-22md/bitmap: record the space available for the bitmap in the superblock.NeilBrown1-0/+7
2012-05-22md/bitmap: make sure reshape request are reflected in superblock.NeilBrown1-0/+3
2012-05-22md/bitmap: add bitmap_resize function to allow bitmap resizing.NeilBrown1-30/+169
2012-05-22md/bitmap: use DIV_ROUND_UP instead of open-codeNeilBrown1-3/+2
2012-05-22md/bitmap: create a 'struct bitmap_counts' substructure of 'struct bitmap'NeilBrown1-67/+71
2012-05-22md/bitmap: make bitmap bitops atomic.NeilBrown1-4/+2
2012-05-22md/bitmap: make _page_attr bitops atomic.NeilBrown1-32/+23
2012-05-22md/bitmap: merge bitmap_file_unmap and bitmap_file_put.NeilBrown1-24/+10
2012-05-22md/bitmap: remove async freeing of bitmap file.NeilBrown1-12/+6
2012-05-22md/bitmap: convert some spin_lock_irqsave to spin_lock_irqNeilBrown1-18/+14
2012-05-22md/bitmap: use set_bit, test_bit, etc for operation on bitmap->flags.NeilBrown1-25/+21
2012-05-22md/bitmap: remove single-bit manipulation on sb->stateNeilBrown1-2/+2
2012-05-22md/bitmap: remove bitmap_mask_stateNeilBrown1-34/+3
2012-05-22md/bitmap: move storage allocation from bitmap_load to bitmap_create.NeilBrown1-5/+6
2012-05-22md/bitmap: separate bitmap file allocation to its own function.NeilBrown1-46/+67
2012-05-22md/bitmap: store bytes in file rather than just in last page.NeilBrown1-7/+9
2012-05-22md/bitmap: move some fields of 'struct bitmap' into a 'storage' substruct.NeilBrown1-86/+94
2012-05-22md/bitmap: change *_page_attr() to take a page number, not a page.NeilBrown1-29/+26
2012-05-22md/bitmap: centralise allocation of bitmap file pages.NeilBrown1-81/+68
2012-05-22md/bitmap: allow a bitmap with no backing storage.NeilBrown1-60/+76
2012-05-22md/bitmap: add new 'space' attribute for bitmaps.NeilBrown1-0/+39
2012-05-22md/bitmap: disentangle two different 'pending' flags.NeilBrown1-101/+112
2012-05-04md/bitmap: fix calculation of 'chunks' - missing shift.NeilBrown1-2/+1
2012-04-12md/bitmap: prevent bitmap_daemon_work running while initialising bitmapNeilBrown1-0/+2
2012-04-12MD: Bitmap version cleanup.Andrei Warkentin1-3/+0
2012-03-22Merge tag 'md-3.4' of git://neil.brown.name/mdLinus Torvalds1-77/+75
2012-03-20md: remove the second argument of k[un]map_atomic()Cong Wang1-21/+21
2012-03-19md/bitmap: discard CHUNK_BLOCK_SHIFT macroNeilBrown1-17/+18
2012-03-19md/bitmap: remove unnecessary indirection when allocating.NeilBrown1-28/+3
2012-03-19md/bitmap: remove some pointless locking.NeilBrown1-12/+2
2012-03-19md/bitmap: change a 'goto' to a normal 'if' construct.NeilBrown1-19/+21
2012-03-19md/bitmap: move printing of bitmap status to bitmap.cNeilBrown1-0/+28
2012-03-19md: tidy up rdev_for_each usage.NeilBrown1-1/+1
2012-03-19md/bitmap: ensure to load bitmap when creating via sysfs.NeilBrown1-0/+2
2011-12-23md/bitmap: be more consistent when setting new bits in memory bitmap.NeilBrown1-1/+1
2011-12-23md/bitmap: daemon_work cleanup.NeilBrown1-5/+5
2011-12-23md/bitmap: It is OK to clear bits during recovery.NeilBrown1-4/+1
2011-11-23md/lock: ensure updates to page_attrs are properly locked.NeilBrown1-0/+4
2011-10-11md/bitmap remove fault injection options.NeilBrown1-33/+1
2011-10-11md: remove typedefs: mddev_t -> struct mddevNeilBrown1-22/+22
2011-10-11md: removing typedefs: mdk_rdev_t -> struct md_rdevNeilBrown1-4/+4
2011-10-07md: remove PRINTK and dprintk debugging and use pr_debugNeilBrown1-20/+13
2011-09-21md/bitmap: improve handling of 'allclean'.NeilBrown1-15/+20
2011-09-21md/bitmap: rename and tidy up BITMAP_PAGE_CLEANNeilBrown1-19/+19
2011-07-27MD bitmap: Revert DM dirty log hooksJonathan Brassow1-90/+43
2011-07-27md: use proper little-endian bitopsAkinobu Mita1-3/+5
2011-06-09md/bitmap: remove unused fields from struct bitmapNamhyung Kim1-3/+0
2011-06-09md/bitmap: use proper accessor macroNamhyung Kim1-3/+3
2011-06-09MD: use is_power_of_2 macroJonathan Brassow1-1/+1
2011-06-09MD: support initial bitmap creation in-kernelJonathan Brassow1-5/+88
2011-05-11md/bitmap: fix saving of events_cleared and other state.NeilBrown1-4/+6
2011-03-24Merge branch 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-3/+2
2011-03-23md: use little-endian bitopsAkinobu Mita1-3/+3
2011-03-10block: kill off REQ_UNPLUGJens Axboe1-1/+1
2011-03-10block: remove per-queue pluggingJens Axboe1-2/+1
2011-01-14md: Don't let implementation detail of curr_resync leak out through sysfs.NeilBrown1-1/+1
2011-01-14md: separate meta and data devsJonathan Brassow1-1/+5
2011-01-14md-new-param-to_sync_page_ioJonathan Brassow1-2/+2
2010-10-29md: unplug writes to external bitmaps.NeilBrown1-1/+1
2010-10-28md: change type of first arg to sync_page_io.NeilBrown1-1/+1
2010-10-28md: use sector_t in bitmap_get_counterNeilBrown1-13/+13
2010-10-07md: check return code of read_sb_pageVasiliy Kulikov1-4/+5
2010-08-30md: resolve confusion of MD_CHANGE_CLEANNeilBrown1-2/+1
2010-07-26md/bitmap: separate out loading a bitmap from initialising the structures.NeilBrown1-21/+48
2010-07-26md/bitmap: prepare for storing write-intent-bitmap via dm-dirty-log.NeilBrown1-39/+89
2010-07-26md/bitmap: optimise scanning of empty bitmaps.NeilBrown1-10/+13
2010-07-26md/bitmap: clean up plugging calls.NeilBrown1-2/+1
2010-07-26md/bitmap: reduce dependence on sysfs.NeilBrown1-3/+4
2010-07-26md/bitmap: white space clean up and similar.NeilBrown1-166/+135
2010-07-26md: be more careful setting MD_CHANGE_CLEANNeilBrown1-1/+2
2010-05-21Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2010-05-22Merge commit '3ff195b011d7decf501a4d55aeed312731094796' into for-linusNeilBrown1-2/+2
2010-05-21sanitize vfs_fsync calling conventionsChristoph Hellwig1-1/+1
2010-05-21sysfs: Implement sysfs tagged directory support.Eric W. Biederman1-2/+2
2010-05-18md/raid1: delay reads that could overtake behind-writes.NeilBrown1-1/+3
2010-05-18drivers/md: Remove unnecessary casts of void *H Hartley Sweeten1-4/+4
2010-05-18md: expose max value of behind writes counterPaul Clements1-1/+28
2009-12-14md/bitmap: update dirty flag when bitmap bits are explicitly set.NeilBrown1-0/+6
2009-12-14md: Support write-intent bitmaps with externally managed metadata.NeilBrown1-23/+119
2009-12-14md/bitmap: move setting of daemon_lastrun out of bitmap_read_sbNeilBrown1-1/+1
2009-12-14md: support updating bitmap parameters via sysfs.NeilBrown1-0/+205
2009-12-14md: support bitmap offset appropriate for external-metadata arrays.NeilBrown1-3/+11
2009-12-14md: remove needless setting of thread->timeout in raid10_quiesceNeilBrown1-0/+1
2009-12-14md: change daemon_sleep to be in 'jiffies' rather than 'seconds'.NeilBrown1-7/+7
2009-12-14md: move offset, daemon_sleep and chunksize out of bitmap structureNeilBrown1-23/+28
2009-12-14md: collect bitmap-specific fields into one structure.NeilBrown1-9/+9
2009-12-14md/bitmap: protect against bitmap removal while being updated.NeilBrown1-6/+18
2009-10-16md: remove clumsy usage of do_sync_mapping_range from bitmap codeNeilBrown1-4/+5
2009-09-23md: remove sparse warnings about lock context.NeilBrown1-1/+4
2009-06-11Merge branch 'for-2.6.31' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-2/+2
2009-05-26md: bitmap: improve bitmap maintenance code.NeilBrown1-6/+7
2009-05-22block: Do away with the notion of hardsect_sizeMartin K. Petersen1-2/+2
2009-05-07md: fix some (more) errors with bitmaps on devices larger than 2TB.NeilBrown1-7/+11
2009-05-07md: fix loading of out-of-date bitmap.NeilBrown1-7/+4
2009-04-20md: support bitmaps on RAID10 arrays larger then 2 terabytesNeilBrown1-3/+3
2009-04-14md: improve usefulness and accuracy of sysfs file md/sync_completed.NeilBrown1-0/+1
2009-03-31md: Make mddev->size sector-based.Andre Noll1-1/+1
2009-03-31md: occasionally checkpoint drive recovery to reduce duplicate effort after a...NeilBrown1-0/+2
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/+2
2009-03-31md: move headers out of include/linux/raid/Christoph Hellwig1-1/+1
2009-03-31md: write bitmap information to devices that are undergoing recovery.NeilBrown1-1/+0
2009-03-31md: never clear bit from the write-intent bitmap when the array is degraded.NeilBrown1-0/+3
2009-03-31md: Allow write-intent bitmaps to have chunksize < PAGE_SIZENeilBrown1-6/+30
2009-01-09md: use list_for_each_entry macro directlyCheng Renquan1-2/+1
2009-01-09md: fix bitmap-on-external-file bug.NeilBrown1-3/+5
2008-12-19md: Don't read past end of bitmap when reading bitmap.NeilBrown1-5/+17
2008-09-01Fix problem with waiting while holding rcu read lock in md/bitmap.cNeilBrown1-7/+38
2008-08-01md: the bitmap code needs to use blk_plug_device_unlocked()Jens Axboe1-1/+1
2008-07-21md: Protect access to mddev->disks list using RCUNeilBrown1-5/+10
2008-07-11md: Turn rdev->sb_offset into a sector-based quantity.Andre Noll1-5/+5
2008-06-28Improve setting of "events_cleared" for write-intent bitmaps.Neil Brown1-5/+24
2008-05-24md: kill file_path wrapperChristoph Hellwig1-13/+4
2008-03-10md: reduce CPU wastage on idle md array with a write-intent bitmapNeilBrown1-1/+3
2008-03-04md: reduce CPU wastage on idle md array with a write-intent bitmapNeilBrown1-2/+17
2008-02-14d_path: Make d_path() use a struct pathJan Blunck1-7/+1
2008-02-06md: change ITERATE_RDEV to rdev_for_eachNeilBrown1-2/+2
2008-02-06md: Update md bitmap during resync.NeilBrown1-5/+30
2007-11-09Add UNPLUG traces to all appropriate placesAlan D. Brunelle1-2/+1
2007-10-23md: fix an unsigned compare to allow creation of bitmaps with v1.0 metadataNeilBrown1-1/+1
2007-07-17md: change bitmap_unplug and others to void functionsNeilBrown1-68/+72
2007-07-17md: check that internal bitmap does not overlap other dataNeilBrown1-2/+33
2007-05-23md: don't write more than is required of the last page of a bitmapNeilBrown1-5/+12
2007-05-08Remove do_sync_file_range()Mark Fasheh1-4/+4
2007-04-12[PATCH] md: fix calculation for size of filemap_attr array in md/bitmapNeil Brown1-3/+1
2007-02-11[PATCH] remove invalidate_inode_pages()Andrew Morton1-1/+1
2007-02-09[PATCH] md: avoid possible BUG_ON in md bitmap handlingNeil Brown1-1/+21
2007-01-26[PATCH] md: avoid reading past the end of a bitmap fileNeilBrown1-4/+8
2006-12-08[PATCH] struct path: convert mdJosef Sipek1-4/+4
2006-10-21[PATCH] md: endian annotations for the bitmap superblockNeilBrown1-5/+5
2006-10-11[PATCH] md: use BUILD_BUG_ONAlexey Dobriyan1-1/+1
2006-10-03[PATCH] md: use ffz instead of find_first_set to convert multiplier to shiftPaul Clements1-2/+1
2006-10-03[PATCH] md: new sysfs interface for setting bits in the write-intent-bitmapPaul Clements1-0/+14
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0