search for: ocfs2_wq

Displaying 20 results from an estimated 27 matches for "ocfs2_wq".

Did you mean: ocfs2_sb
2010 Jun 14
3
Diagnosing some OCFS2 error messages
...performing various stress tests. My current exercise involves writing to files using a shared-writable mmap() from two nodes. (Each node mmaps and writes to different files; I am not trying to access the same file from multiple nodes.) Both nodes are logging messages like these: [94355.116255] (ocfs2_wq,5995,6):ocfs2_block_check_validate:443 ERROR: CRC32 failed: stored: 2715161149, computed 575704001. Applying ECC. [94355.116344] (ocfs2_wq,5995,6):ocfs2_block_check_validate:457 ERROR: Fixed CRC32 failed: stored: 2715161149, computed 2102707465 [94355.116348] (ocfs2_wq,5995,6):ocfs2_validate_ext...
2009 Jul 20
1
[PATCH] ocfs2: flush dentry lock drop when sync ocfs2 volume.
In commit ea455f8ab68338ba69f5d3362b342c115bea8e13, we move the dentry lock put process into ocfs2_wq. This is OK for most case, but as for umount, it lead to at least 2 bugs. See http://oss.oracle.com/bugzilla/show_bug.cgi?id=1133 and http://oss.oracle.com/bugzilla/show_bug.cgi?id=1135. And it happens easily if we have opened a lot of inodes. For 1135, the reason is that during umount will call g...
2023 Apr 30
3
[PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
...alloc.c b/fs/ocfs2/alloc.c index 51c93929a146..d90961a1c433 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c @@ -6308,11 +6308,13 @@ void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb) if (tl_inode) { cancel_delayed_work(&osb->osb_truncate_log_wq); - flush_workqueue(osb->ocfs2_wq); + if (!is_journal_aborted(osb->journal->j_journal)) { + flush_workqueue(osb->ocfs2_wq); - status = ocfs2_flush_truncate_log(osb); - if (status < 0) - mlog_errno(status); + status = ocfs2_flush_truncate_log(osb); + if (status < 0) + mlog_errno(status); + } brel...
2010 Aug 20
0
[PATCH] ocfs2: Don't delete orphaned files if we are in the process of umount.
Generally, orphan scan run in ocfs2_wq and is used to replay orphan dir. So for some low end iscsi device, the delete_inode may take a long time(In some devices, I have seen that delete 500 files will take about 15 secs). This will eventually cause umount to livelock(umount has to flush ocfs2_wq which will wait until orphan scan to fini...
2023 Apr 30
2
[PATCH 1/2] ocfs2: fix missing reset j_num_trans for sync
fstest generic cases 266 272 281 trigger hanging issue when umount. I use 266 to describe the root cause. ``` 49 _dmerror_unmount 50 _dmerror_mount 51 52 echo "Compare files" 53 md5sum $testdir/file1 | _filter_scratch 54 md5sum $testdir/file2 | _filter_scratch 55 56 echo "CoW and unmount" 57 sync 58 _dmerror_load_error_table 59 urk=$($XFS_IO_PROG -f -c "pwrite
2010 Apr 29
2
Hardware error or ocfs2 error?
Hello, today I noticed the following on *only* one node: ----- cut here ----- Apr 29 11:01:18 node06 kernel: [2569440.616036] INFO: task ocfs2_wq:5214 blocked for more than 120 seconds. Apr 29 11:01:18 node06 kernel: [2569440.616056] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Apr 29 11:01:18 node06 kernel: [2569440.616080] ocfs2_wq D 0000000000000002 0 5214 2 0x00000000 Apr 29 11:01:...
2011 Dec 20
1
OCFS2 problems when connectivity lost
...s to shut the resources down on that node, but fails to stop the OCFS2 filesystem resource stating that it is "in use". *Both* OCFS2 nodes (ie. the one with the network down and the one which is still up in the partition with quorum) hang with dmesg reporting that events, ocfs2rec and ocfs2_wq on *both* nodes are "blocked for more than 120 seconds". When the network is operational, umount by hand works without any problems, because for the testing scenario there are no services running which are keeping the mountpoint busy. Configuration we used is pretty much from "C...
2010 Jan 29
0
[PATCH 3/3] ocfs2:freeze-thaw: make it work -v2
...freeze_worker(struct ocfs2_super *osb) +{ + int queue_it = 0; + + spin_lock(&osb->osb_lock); + if (!(osb->osb_flags & OCFS2_OSB_FREEZE_INPROG)) { + osb->osb_flags |= OCFS2_OSB_FREEZE_INPROG; + queue_it = 1; + } + spin_unlock(&osb->osb_lock); + + if (queue_it) + queue_work(ocfs2_wq, &osb->osb_freeze_work); +} + static int ocfs2_check_freeze_downconvert(struct ocfs2_lock_res *lockres, int new_level) { - return 1; /* change me */ + struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); + struct super_block *sb = osb->sb; + int frozen_by_remote; + + mlog(0...
2011 May 13
1
答复: hi,if i can post ocfs2-dmesg to you?i have trouble on ocfs2
...environment: kernel-2.6.32.23 + xen + ocfs2(1.5) > > Thanks again. > This looks like the deadlock as explained in this patch. commit 40f165f416bde747d85cdf71bc9dde700912f71f Author: Tao Ma <tao.ma at oracle.com> Date: Fri May 28 14:22:59 2010 +0800 ocfs2: Move orphan scan work to ocfs2_wq. # git name-rev --tags 40f165f416bde747d85cdf71bc9dde700912f71f 40f165f416bde747d85cdf71bc9dde700912f71f tags/v2.6.35-rc6~34^2~13 Fixed in 2.6.35. This should apply as-is to 2.6.32. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocf...
2008 Jul 21
5
OCFS processes active after a umount [SEC=UNOFFICIAL]
...offline command failed with - # ./o2cb offline Stopping O2CB cluster ocfs2: Failed Unable to stop cluster as heartbeat region still active Looking at the processes on this box shows a number of OCFS processes are still active - ps -ef |grep ocf root 4704 23 0 Jul19 ? 00:00:00 [ocfs2_wq] root 4705 23 0 Jul19 ? 00:00:00 [ocfs2vote-0] root 4710 23 0 Jul19 ? 00:00:00 [ocfs2cmt-0] root 4730 23 0 Jul19 ? 00:00:00 [ocfs2vote-1] root 4735 23 0 Jul19 ? 00:00:00 [ocfs2cmt-1] root 10214 3485 0 18:12 pts/2 00:00:00 grep...
2011 Apr 01
1
Node Recovery locks I/O in two-node OCFS2 cluster (DRBD 8.3.8 / Ubuntu 10.10)
...c,3643,0):ocfs2_replay_journal:1605 Recovering node 1124116672 from > slot 1 on device (147,0) > Apr 1 12:07:19 ubu10a kernel: [ 1352.900874] > (ocfs2rec,3643,0):ocfs2_begin_quota_recovery:407 Beginning quota recovery in > slot 1 > Apr 1 12:07:19 ubu10a kernel: [ 1352.902509] > (ocfs2_wq,1213,0):ocfs2_finish_quota_recovery:598 Finishing quota recovery in > slot 1 > > Apr 1 12:07:20 ubu10a kernel: [ 1354.423915] block drbd0: Handshake > successful: Agreed network protocol version 94 > Apr 1 12:07:20 ubu10a kernel: [ 1354.433074] block drbd0: Peer authenticated >...
2009 Jan 12
5
[PATCH 0/5] OCFS2 quota fixes
Hello, the following series of patches fixes some issues with OCFS2 quotas. The first patch modifies VFS quota locking, the next patch uses the fact to simplify OCFS2 quota locking and solves a few deadlock issues. The third and the fourth patches fix another possible deadlocks in OCFS2 quota code and the last patch is a minor cleanup. Honza
2009 Feb 03
1
[git patches] Ocfs2 and Configfs fixes
...s2/dlmglue.c | 4 +++ fs/ocfs2/ocfs2.h | 6 ++++ fs/ocfs2/quota_global.c | 4 ++- fs/ocfs2/super.c | 3 ++ fs/ocfs2/xattr.c | 17 ++++++------- 9 files changed, 133 insertions(+), 14 deletions(-) Jan Kara (2): ocfs2: Push out dropping of dentry lock to ocfs2_wq ocfs2: Fix possible deadlock in ocfs2_write_dquot() Joel Becker (1): configfs: Silence lockdep on mkdir(), rmdir() and configfs_depend_item() Mark Fasheh (1): ocfs2: add quota call to ocfs2_remove_btree_range() Sunil Mushran (1): ocfs2: Wakeup the downconvert thread after...
2010 Jul 16
0
[GIT PULL] Important ocfs2 fixes for 2.6.35
...o it by page. ocfs2: Zero the tail cluster when extending past i_size. ocfs2: No need to zero pages past i_size. ocfs2: Silence gcc warning in ocfs2_write_zero_page(). Julia Lawall (1): fs/ocfs2/dlm: Add missing spin_unlock Tao Ma (6): ocfs2: Move orphan scan work to ocfs2_wq. ocfs2: Limit default local alloc size within bitmap range. ocfs2: Remove the redundant cpu_to_le64. ocfs2: make xattr extension work with new local alloc reservation. ocfs2: Make xattr reflink work with new local alloc reservation. ocfs2: Don't duplicate pages pas...
2012 Jun 14
0
[ocfs2-announce] OCFS2 1.4.10-1 released
...uster Create debugfs dir for heartbeat regions Ocfs2: Handle empty list in lockres_seq_start for dlmdebug.c ocfs2: Don t walk off the end of fast symlinks o2dlm: force free mles during dlm exit ocfs2: tighten up strlen checking ocfs2: Remove the redundant cpu_to_le64 ocfs2: Move orphan scan work to ocfs2_wq ocfs2: Make nointr a default mount option ocfs2: print node when tcp fails ocfs2:_dlmfs Fix math error when reading LVB ocfs2: Check the owner of a lockres inside the spinlock o2net: Disallow o2net accept connection request from itself ocfs2: dlm remove potential deadlock V3 ocfs2: dlm avoid incorr...
2009 Jun 04
3
Patches that adds delayed orphan scan timer (rev 3)
Resending after implementing review comments.
2009 Jun 02
3
Patches that adds delayed orphan scan timer (rev 2)
Resending after implementing review comments.
2010 Feb 03
1
[PATCH] ocfs2: Plugs race between the dc thread and an unlock ast message
This patch plugs a race between the downconvert thread and an unlock ast message. Specifically, after the downconvert worker has done its task, the dc thread needs to check whether an unlock ast made the downconvert moot. Reported-by: David Teigland <teigland at redhat.com> Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com> Acked-by: Mark Fasheh <mfasheh at sus.com> ---
2009 Jun 02
3
Patches that adds delayed orphan scan timer
Resending after adding another patch to display delayed orphan scan statistics.
2009 Jun 04
2
Backport that adds delayed orphan scan timer to 1.4
Next two patches are backport of orphan scan timer patches to ocfs2-1.4