search for: ocfs2_commit_cache

Displaying 15 results from an estimated 15 matches for "ocfs2_commit_cache".

2012 Oct 08
0
ocfs2 bug?
...Oct ?3 11:52:41 tc_201_62 kernel: (oc__thread:1797 ERROR: status = -5 Oct ?3 11:52:41 tc_201_62 kernel: (ocfs2___t_th_th____thread:1797 ERROR: status = -5 Oct ?3 11:52:41 tc_201_62 kernel: (ocfs2cmt,2__thre_t_thre__thread:1797 ERROR: status = -5 Oct ?3 11:52:41 tc_201_62 kernel: (ocfs2cmt,22737,4):ocfs2_commit_cache:192 ERROR: status = -5 Oct ?3 11:52:41 tc_201_62 kernel: (ocfs2cmt,227_thre_th__th_th__th_th_th_thread:1797 ERROR: status = -5 Oct ?3 11:52:41 tc_201_62 kernel: (ocfs2cmt,227__t_th_th_th_th___th__thread:1797 ERROR: status = -5 Oct ?3 11:52:41 tc_201_62 kernel: (ocfs2cmt,22737,4):ocfs2_commit_cache:...
2023 May 04
1
[PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
...ther transactions. > >>>> It seems that we may unify the behavior like: > >>>> > >>>> if (is_journal_aborted(journal)) > >>>> return -EROFS; > >>>> > >>>> > >>> IIUC, do you mean add above code in ocfs2_commit_cache or in > >>> ocfs2_commit_thread? > >> > >> Yes, break the loop in ocfs2_commit_thread() in case of journal abort. > >> Actually we've handled this case before, but just limit the print. But > >> it seems not enough now. > > > > I wrot...
2023 May 05
1
[PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
...t;>>>>> It seems that we may unify the behavior like: >>>>>> >>>>>> if (is_journal_aborted(journal)) >>>>>> return -EROFS; >>>>>> >>>>>> >>>>> IIUC, do you mean add above code in ocfs2_commit_cache or in >>>>> ocfs2_commit_thread? >>>> >>>> Yes, break the loop in ocfs2_commit_thread() in case of journal abort. >>>> Actually we've handled this case before, but just limit the print. But >>>> it seems not enough now. >>>...
2023 May 08
1
[PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
...s that we may unify the behavior like: > >>>>>> > >>>>>> if (is_journal_aborted(journal)) > >>>>>> return -EROFS; > >>>>>> > >>>>>> > >>>>> IIUC, do you mean add above code in ocfs2_commit_cache or in > >>>>> ocfs2_commit_thread? > >>>> > >>>> Yes, break the loop in ocfs2_commit_thread() in case of journal abort. > >>>> Actually we've handled this case before, but just limit the print. But > >>>> it seems not...
2023 May 09
1
[PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
...y the behavior like: >>>>>>>> >>>>>>>> if (is_journal_aborted(journal)) >>>>>>>> return -EROFS; >>>>>>>> >>>>>>>> >>>>>>> IIUC, do you mean add above code in ocfs2_commit_cache or in >>>>>>> ocfs2_commit_thread? >>>>>> >>>>>> Yes, break the loop in ocfs2_commit_thread() in case of journal abort. >>>>>> Actually we've handled this case before, but just limit the print. But >>>>>&g...
2023 Apr 30
3
[PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
...g(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 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c @@ -312,11 +312,16 @@ static int ocfs2_commit_cache(struct ocfs2_super *osb) status = jbd2_journal_flush(journal->j_journal, 0); jbd2_journal_unlock_updates(journal->j_journal); if (status < 0) { + if (is_journal_aborted(journal->j_journal)) { + ocfs2_error(osb->sb, "jbd2 status: ABORT.\n"); + goto reset; + }...
2010 Aug 19
0
[GIT PULL] ocfs2 changes for 2.6.36, part 2.
...t; 16 TiB) volumes to mount Sunil Mushran (2): ocfs2: Fix metaecc error messages ocfs2: Fix incorrect checksum validation error Tao Ma (9): ocfs2: Add some trace log for orphan scan. ocfs2: Remove obscure error handling in direct_write. ocfs2: Remove unused old_id in ocfs2_commit_cache. ocfs2: Remove obsolete comments before ocfs2_start_trans. ocfs2: pass struct file* to ocfs2_write_begin_nolock. ocfs2: pass struct file* to ocfs2_prepare_inode_for_write. ocfs2: Add struct file to ocfs2_refcount_cow. ocfs2: Add readahead support for CoW. ocfs2:...
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 Oct 22
0
[GIT PULL] ocfs2 changes for 2.6.37
...re_inode_for_write. ocfs2: Add struct file to ocfs2_refcount_cow. ocfs2: Add readahead support for CoW. ocfs2: Add readhead during CoW. ocfs2: Add some trace log for orphan scan. ocfs2: Remove obscure error handling in direct_write. ocfs2: Remove unused old_id in ocfs2_commit_cache. ocfs2: Remove obsolete comments before ocfs2_start_trans. ocfs2: Cache system inodes of other slots. Tristan Ye (2): Ocfs2: Add new OCFS2_IOC_INFO ioctl for ocfs2 v8. ocfs2: Add a mount option "coherency=*" to handle cluster coherency for O_DIRECT writes. Docum...
2012 Jun 14
0
[ocfs2-announce] OCFS2 1.4.10-1 released
...tem in configfs ocfs2: validate bg_free_bits_count after update ocfs2: Use cpu_to_le16 for e_leaf_clusters in ocfs2_bg_discontig_add_extent ocfs2: Initialize the bktcnt variable properly and call it bucket_count ocfs2: Remove obsolete comments before ocfs2_start_trans ocfs2: Remove unused old_id in ocfs2_commit_cache ocfs2: Add some trace log for orphan scan ocfs2: dlm dlmlock_remote needs to account for remastery ocfs2: dlm Take inflight reference count for remotely mastered resrouce too ocfs2: Wakeup down convert thread just after clearing OCFS2-LOCK-UPCONVERT-FINISHING ocfs2: dlm Hard code the values for en...
2009 Apr 07
1
Backport to 1.4 of patch that recovers orphans from offline slots
The following patch is a backport of patch that recovers orphans from offline slots. It is being backported from mainline to 1.4 mainline patch: 0001-Patch-to-recover-orphans-in-offline-slots-during-rec.patch Thanks, --Srini
2008 Sep 04
4
[PATCH 0/3] ocfs2: Switch over to JBD2.
ocfs2 currently uses the Journaled Block Device (JBD) for its journaling. This is a very stable and tested codebase. However, JBD is limited by architecture to 32bit block numbers. This means an ocfs2 filesystem is limited to 2^32 blocks. With a 4K blocksize, that's 16TB. People want larger volumes. Fortunately, there is now JBD2. JBD2 adds 64bit block number support and some other
2009 Apr 17
26
OCFS2 1.4: Patches backported from mainline
Please review the list of patches being applied to the ocfs2 1.4 tree. All patches list the mainline commit hash. Thanks Sunil
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi, This is the second batch of Ocfs2 patches intended for the merge window. The 1st batch were sent out previously: http://lkml.org/lkml/2008/12/19/280 The bulk of this set is comprised of Jan Kara's patches to add quota support to Ocfs2. Many of the quota patches are to generic code, which I carried to make merging of the Ocfs2 support easier. All of the non-ocfs2 patches should have
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