Displaying 2 results from an estimated 2 matches for "dirop_file_rac".
Did you mean:
dirop_file_racer
2009 Apr 30
1
[PATCH] ocfs2: Fix a missing credit when deleting from indexed directories.
...y -
the dx root and the dx leaf. OCFS2_DELETE_INODE_CREDITS was only
accounting for the dx leaf. This shows up when ocfs2_delete_inode()
runs out of credits in jbd2_journal_dirty_metadata() at
"J_ASSERT_JH(jh, handle->h_buffer_credits > 0);".
The test that caught this was running dirop_file_racer from the
ocfs2-test suite with a 250-character filename PREFIX. Run on a 512B
blocksize, it forces the orphan dir index to grow large enough to
trigger.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
---
fs/ocfs2/journal.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletio...
2009 Apr 29
1
Inode not orphaned
Anyone else seen this?
(25736,1):ocfs2_query_inode_wipe:882 ERROR: Inode 129047 (on-disk 129047) not orphaned! Disk flags 0x1, inode flags 0x80
(25736,1):ocfs2_delete_inode:1010 ERROR: status = -17
Test case is my patched version of ocfs2-test/programs/dirop_file_racer
that allows long filename prefixes. I ran it on two nodes in separate
directories. Filesystem has a 512B blocksize, and I specified a
filename prefix of 250 characters (thus brushing up against NAME_MAX and
forcing some longer symlinks out of the inode).
# PREFIX=cccccccccccccccccccccccccccccc...