Displaying 3 results from an estimated 3 matches for "ocfs_i".
Did you mean:
ocfs2_i
2004 Jun 02
2
[Patch] for bug 81
....c (working copy)
@@ -526,7 +526,7 @@
status = -EBUSY;
- if (!empty_dir(inode)) {
+ if ( S_ISDIR (inode->i_mode) && !empty_dir(inode)) {
LOG_TRACE_STR ("dentry is not empty, cannot delete");
goto bail;
} else if (OCFS_I(inode)->open_hndl_cnt > 0) {
bug 81 description:
Env:
kernel 2.4.20
Dell Pc P4-2.1 512M, 80G
Reproduce Step:
1.load_ocfs2 and mount to /ocfs
2. touch /ocfs/file
3. rm /ocfs/file
With error message
(10396) ERROR at dir.c, 253: bad directory (dir #36300288) - no data
block
2004 Sep 04
0
[PATCH] remove ocfs_put_inode
...=
--- src/inode.c (revision 1426)
+++ src/inode.c (working copy)
@@ -521,26 +521,6 @@
return status;
}
-/*
- * ocfs_put_inode()
- *
- */
-void ocfs_put_inode (struct inode *inode)
-{
- ocfs_super *osb;
-
- LOG_SET_CONTEXT(PUT_INODE);
-
- LOG_ENTRY_ARGS ("(0x%p, i_ino=%llu)\n", inode, OCFS_I(inode)->ip_blkno);
- LOG_TRACE_ARGS ("put_inode: count=%d\n", atomic_read(&inode->i_count));
- osb = OCFS_SB(inode->i_sb);
- LOG_EXIT ();
-
- LOG_CLEAR_CONTEXT();
- return;
-} /* ocfs_put_inode */
-
-
void ocfs_sync_blockdev(struct super_block *sb)
{
#if LINUX_VERSION_C...
2004 Jul 02
0
[Patch] We resolve the throughput drop problemwhe nr eading filesin OCFS2 volume in the patch "ocfs2-truncate-pages-1.patch"a gainstsvn 1226.
...affect the next read.
>> 2. Send the message only when there is really a write before=20
>the close. (Maybe we can use the flag OCFS_OIN_OPEN_FOR_WRITE?=20
>It is now only used in direct io)
>> 3. When creating a new file, do not send the message.( Need=20
>to add some flags to OCFS_I(inode) ?)
>> 4.Send the message only to those node that have ever opened=20
>this file.( maybe similar with process of the DROP_READONLY=20
>message for directory operation?)
>> =20
>> any more suggestion?
>> =20
>>=20
>> >-----Original Message---...