search for: ocfs2_flush_truncate_log

Displaying 5 results from an estimated 5 matches for "ocfs2_flush_truncate_log".

2023 Apr 30
3
[PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
...+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); + } brelse(osb->osb_tl_bh); iput(osb->osb_tl_inode); diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index 25d8072ccfce..2798067a2f66 1...
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
2009 Jul 20
1
[PATCH] ocfs2: flush dentry lock drop when sync ocfs2 volume.
...13 @@ static int ocfs2_sync_fs(struct super_block *sb, int wait) if (ocfs2_is_hard_readonly(osb)) return -EROFS; + if (osb->dentry_lock_list) { + if (wait) + ocfs2_flush_dl_inode_drop(osb); + else + queue_work(ocfs2_wq, &osb->dentry_lock_work); + } + if (wait) { status = ocfs2_flush_truncate_log(osb); if (status < 0) -- 1.6.2.rc2.16.gf474c
2010 Jun 03
2
Tracking down hangs
...[79922.158515] [<ffffffffa03b59a1>] :ocfs2:ocfs2_start_trans+0xd3/0x1b5 [79922.158525] [<ffffffffa0390190>] :ocfs2:ocfs2_do_insert_extent+0x41/0xce1 [79922.158535] [<ffffffffa0390190>] :ocfs2:ocfs2_do_insert_extent+0x41/0xce1 [79922.158546] [<ffffffffa038abc6>] :ocfs2:__ocfs2_flush_truncate_log+0x279/0x7bb [79922.158549] [<ffffffff8020a857>] __switch_to+0x96/0x35e [79922.158554] [<ffffffff8022efd6>] hrtick_set+0x88/0xf7 [79922.158566] [<ffffffffa039154e>] :ocfs2:ocfs2_truncate_log_worker+0x0/0x149 [79922.158577] [<ffffffffa038b130>] :ocfs2:ocfs2_flush_truncate_...
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding changes for Ocfs2. Aside from the usual set of cleanups and fixes that were inappropriate for 2.6.25, there are a few highlights: The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location meshes better with modern sysfs layout. A symbolic link has been placed in the old location so as to