aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/heartbeat.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-25ocfs2: port block device access to fileChristian Brauner1-16/+16
2023-10-28ocfs2: Convert to use bdev_open_by_dev()Jan Kara1-36/+45
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-1/+2
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-2/+2
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+1
2022-11-18ocfs2: use bitmap API in fill_node_mapJoseph Qi1-10/+8
2022-11-18ocfs2/cluster: use bitmap API instead of hand-writing itJoseph Qi1-10/+10
2022-07-14fs/ocfs2: Use the enum req_op and blk_opf_t typesBart Van Assche1-6/+5
2022-07-14ocfs2/cluster: remove the hr_dev_name field from struct o2hb_regionChristoph Hellwig1-34/+30
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-3/+1
2022-01-15all: replace find_next{,_zero}_bit with find_first{,_zero}_bit where appropriateYury Norov1-1/+1
2021-06-29ocfs2: replace simple_strtoull() with kstrtoull()Chen Huang1-2/+3
2021-06-29ocfs2: remove unnecessary INIT_LIST_HEAD()Yang Yingliang1-2/+0
2021-05-07treewide: remove editor modelines and cruftMasahiro Yamada1-3/+1
2021-02-24ocfs2: fix a use after free on errorDan Carpenter1-1/+7
2020-09-23ocfs2: cleanup o2hb_region_dev_storeChristoph Hellwig1-18/+10
2020-04-02ocfs2: use scnprintf() for avoiding potential buffer overflowTakashi Iwai1-5/+5
2020-04-02ocfs2: remove unused macrosAlex Shi1-2/+0
2019-09-24ocfs2: further debugfs cleanupsGreg Kroah-Hartman1-76/+27
2019-07-12ocfs: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-75/+25
2019-07-12fs: ocfs: fix spelling mistake "hearbeating" -> "heartbeat"ChenGang1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 145Thomas Gleixner1-15/+1
2018-12-28ocfs2: optimize the reading of heartbeat dataJia Guo1-5/+12
2018-08-17ocfs2: make several functions and variables static (and some const)Colin Ian King1-6/+6
2018-05-25ocfs2: revert "ocfs2/o2hb: check len for bio_add_page() to avoid getting inco...Changwei Ge1-10/+1
2018-04-05ocfs2/o2hb: check len for bio_add_page() to avoid getting incorrect biopiaojun1-1/+10
2017-10-19ocfs2/cluster: make config_item_type constBhumika Goyal1-2/+2
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2017-09-06ocfs2: clean up some dead codeJun Piao1-38/+4
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-1/+1
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-3/+3
2017-05-03ocfs2: o2hb: revert hb threshold to keep compatibleJunxiao Bi1-4/+4
2016-12-25ktime: Get rid of the unionThomas Gleixner1-1/+1
2016-12-13Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2016-12-12ocfs2: replace CURRENT_TIME macroDeepa Dinamani1-1/+1
2016-11-01block,fs: use REQ_* flags directlyChristoph Hellwig1-1/+1
2016-06-07ocfs2: use bio op accessorsMike Christie1-4/+6
2016-06-07block/fs/drivers: remove rw argument from submit_bioMike Christie1-5/+7
2016-05-27ocfs2: o2hb: fix hb hung timeJunxiao Bi1-1/+1
2016-05-27ocfs2: o2hb: don't negotiate if last hb failJunxiao Bi1-0/+10
2016-05-27ocfs2: o2hb: add some user/debug logJunxiao Bi1-7/+32
2016-05-27ocfs2: o2hb: add NEGOTIATE_APPROVE messageJunxiao Bi1-1/+27
2016-05-27ocfs2: o2hb: add NEGO_TIMEOUT messageJunxiao Bi1-1/+65
2016-05-27ocfs2: o2hb: add negotiate timerJunxiao Bi1-4/+47
2016-05-19ocfs2: clean up unused parameter 'count' in o2hb_read_block_input()Jun Piao1-3/+2
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-5/+5
2016-03-25ocfs2: o2hb: fix double free bugJunxiao Bi1-2/+2
2016-03-15ocfs2/cluster: replace the interrupt safe spinlocks with common onesjiangyiwen1-6/+4
2016-02-03ocfs2/cluster: fix memory leak in o2hb_region_releaseJoseph Qi1-6/+8
2016-01-14ocfs2: o2hb: increase unsteady iterationsJunxiao Bi1-2/+2
2015-11-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds1-164/+41
2015-11-05ocfs2: fix race between mount and delete node/clusterJoseph Qi1-3/+16
2015-10-13ocfs2/cluster: use per-attribute show and store methodsChristoph Hellwig1-164/+41
2015-09-04ocfs2: use 64bit variables to track heartbeat timeTina Ruchandani1-40/+9
2015-09-04ocfs2: do not log twice error messagesChristophe JAILLET1-15/+5
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-5/+4
2015-04-21Revert "ocfs2: incorrect check for debugfs returns"Linus Torvalds1-31/+11
2015-04-14ocfs2: incorrect check for debugfs returnsChengyu Song1-11/+31
2014-12-10ocfs2: report error from o2hb_do_disk_heartbeat() to userJan Kara1-2/+2
2014-10-14ocfs2: replace strnicmp with strncasecmpRasmus Villemoes1-1/+1
2014-10-09ocfs2: fix deadlock between o2hb thread and o2net_wqJoseph Qi1-0/+19
2014-04-18sched, treewide: Replace hardcoded nice values with MIN_NICE/MAX_NICEDongsheng Yang1-1/+1
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-1/+1
2013-11-13ocfs2: use find_last_bit()Akinobu Mita1-16/+2
2013-11-13ocfs2: use bitmap_weight()Akinobu Mita1-15/+7
2013-09-11ocfs2: fix a tiny race case when firing callbacksJoyce1-9/+9
2013-09-11ocfs2: use list_for_each_entry() instead of list_for_each()Dong Fang1-9/+5
2013-07-03ocfs2: fix NULL pointer dereference when traversing o2hb_all_regionsXue jiufei1-0/+9
2013-07-03ocfs2: consolidate o2hb_global_hearbeat_mode_set() naming conventionJie Liu1-4/+4
2013-07-03ocfs2: submit disk heartbeat bio using WRITE_SYNCNoboru Iwamatsu1-1/+1
2013-02-21ocfs2: remove kfree() redundant null checksTim Gardner1-4/+2
2012-09-26switch simple cases of fget_light to fdgetAl Viro1-20/+19
2012-09-26switch o2hb_region_dev_write() to fget_light()Al Viro1-2/+3
2011-07-24ocfs2/cluster: Fix output in file elapsed_time_in_msSunil Mushran1-3/+6
2011-07-24ocfs2/cluster: Abort heartbeat start on hard-ro devicesSunil Mushran1-69/+116
2011-05-13ocfs2/cluster: Heartbeat mismatch message improvedSunil Mushran1-17/+31
2011-05-13ocfs2/cluster: Increase the live threshold for global heartbeatSunil Mushran1-1/+12
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-28Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+0
2011-03-10block: remove per-queue pluggingJens Axboe1-4/+0
2011-03-07ocfs2: Remove EXIT from masklog.Tao Ma1-1/+0
2011-02-21ocfs2: Remove ENTRY from masklog.Tao Ma1-2/+0
2011-01-13Merge branch 'for-2.6.38/core' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-1/+1
2011-01-11Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-38/+208
2011-01-07Merge branch 'for-2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-2/+1
2010-12-24ocfs2: don't use flush_scheduled_work()Tejun Heo1-2/+1
2010-12-16ocfs2/cluster: Pin the local node when o2hb thread startsSunil Mushran1-0/+6
2010-12-16ocfs2/cluster: Show pin state for each o2hb regionSunil Mushran1-0/+23
2010-12-16ocfs2/cluster: Pin/unpin o2hb regionsSunil Mushran1-38/+178
2010-12-16ocfs2/cluster: Remove dropped region from o2hb quorum region bitmapSunil Mushran1-0/+1
2010-11-18ocfs2: fix memory leakJiri Slaby1-4/+10
2010-11-13block: make blkdev_get/put() handle exclusive accessTejun Heo1-1/+1
2010-10-15ocfs2/cluster: Release debugfs file elapsed_time_in_msSunil Mushran1-0/+1
2010-10-09ocfs2/cluster: Bump up dlm protocol to version 1.1Sunil Mushran1-1/+1
2010-10-06ocfs2/cluster: Show per region heartbeat elapsed timeSunil Mushran1-0/+23
2010-10-06ocfs2/cluster: Add mlogs for heartbeat up/down eventsSunil Mushran1-0/+4
2010-10-06ocfs2/cluster: Create debugfs dir/files for each regionSunil Mushran1-0/+77
2010-10-06ocfs2/cluster: Create debugfs files for live, quorum and failed region bitmapsSunil Mushran1-0/+63
2010-10-07ocfs2/cluster: Maintain bitmap of failed regionsSunil Mushran1-0/+41
2010-10-06ocfs2/cluster: Maintain bitmap of quorum regionsSunil Mushran1-0/+35
2010-10-06ocfs2/cluster: Track bitmap of live heartbeat regionsSunil Mushran1-1/+8
2010-10-07ocfs2/cluster: Track number of global heartbeat regionsSunil Mushran1-2/+22
2010-10-06ocfs2/cluster: Maintain live node bitmap per heartbeat regionSunil Mushran1-0/+7
2010-10-07ocfs2/cluster: Reorganize o2hb debugfs initSunil Mushran1-23/+78
2010-10-07ocfs2/cluster: Check slots for unconfigured live nodesSunil Mushran1-7/+31
2010-10-06ocfs2/cluster: Print messages when adding/removing heartbeat regionsSunil Mushran1-1/+8
2010-10-07ocfs2/cluster: Get all heartbeat regionsSunil Mushran1-0/+34
2010-10-07ocfs2/cluster: Add heartbeat mode configfs parameterSunil Mushran1-0/+72
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-01-25ocfs2/trivial: Remove trailing whitespacesSunil Mushran1-3/+3
2009-12-23ocfs2/trivial: Use proper mask for 2 places in hearbeat.cTao Ma1-2/+4
2009-10-01const: constify remaining file_operationsAlexey Dobriyan1-1/+1
2009-05-22block: Do away with the notion of hardsect_sizeMartin K. Petersen1-1/+1
2009-04-03ocfs2/hb: Expose the list of heartbeating nodes via debugfsSunil Mushran1-1/+95
2009-01-06trivial: fix then -> than typos in comments and documentationFrederik Schwarzer1-1/+1
2008-10-21[PATCH] sanitize blkdev_get() and friendsAl Viro1-1/+1
2008-10-21[PATCH] pass fmode_t to blkdev_put()Al Viro1-2/+2
2008-07-17configfs: Allow ->make_item() and ->make_group() to return detailed errors.Joel Becker1-8/+2
2008-07-17Revert "configfs: Allow ->make_item() and ->make_group() to return detailed e...Joel Becker1-10/+7
2008-07-14configfs: Allow ->make_item() and ->make_group() to return detailed errors.Joel Becker1-7/+10
2007-11-06[PATCH] Fix possibly too long write in o2hb_setup_one_bio()Jan Kara1-1/+1
2007-10-19Use helpers to obtain task pid in printksPavel Emelyanov1-1/+1
2007-10-12Fix up more bio falloutAl Viro1-2/+1
2007-10-10Drop 'size' argument from bio_endio and bi_end_ioNeilBrown1-4/+0
2007-07-10ocfs2: Wake up a starting region if it gets killed in the background.Joel Becker1-1/+20
2007-07-10ocfs2: live heartbeat depends on the local node configurationJoel Becker1-3/+14
2007-07-10ocfs2: Depend on configfs heartbeat items.Joel Becker1-2/+62
2007-05-02ocfs2: fix sparse warnings in fs/ocfs2/clusterMark Fasheh1-1/+1
2007-03-14ocfs2: Concurrent access of o2hb_region->hr_task was not lockedJoel Becker1-12/+32
2007-03-14ocfs2: Proper cleanup in case of error in ocfs2_register_hb_callbacks()Joel Becker1-4/+2
2007-02-07[PATCH] ocfs2 heartbeat: clean up bio submission codePhilipp Reisner1-127/+31
2006-12-28ocfs2: export heartbeat thread pid via configfsZhen Wei1-0/+17
2006-12-13[PATCH] Fix numerous kcalloc() calls, convert to kzalloc()Robert P. J. Day1-2/+2
2006-11-22WorkStruct: make allyesconfigDavid Howells1-4/+6
2006-09-20ocfs2: Fix heartbeat sector calculationMathieu Avila1-2/+6
2006-06-29ocfs2: warn the user on a dead timeout mismatchMark Fasheh1-0/+20
2006-06-27[PATCH] spin/rwlock init cleanupsIngo Molnar1-1/+1
2006-04-07ocfs2: Better I/O error handling in heartbeatMark Fasheh1-8/+32
2006-03-24ocfs2: don't use MLF* in cluster/ filesMark Fasheh1-18/+20
2006-02-03[PATCH] ocfs2: fix compile warningsMark Fasheh1-2/+3
2006-01-03[PATCH] OCFS2: The Second Oracle Cluster FilesystemMark Fasheh1-0/+1797