Displaying 7 results from an estimated 7 matches for "gqinode".
Did you mean:
lqinode
2009 Apr 07
0
[PATCH 1/1] OCFS2: use i_size_read() instead of direct accessing inode->i_size
...tent_map_get_blocks(inode, v_blkno,
diff --git a/fs/ocfs2/quota_global.c b/fs/ocfs2/quota_global.c
index 1ed0f7c..df46418 100644
--- a/fs/ocfs2/quota_global.c
+++ b/fs/ocfs2/quota_global.c
@@ -210,7 +210,7 @@ ssize_t ocfs2_quota_write(struct super_block *sb, int type,
}
mutex_lock_nested(&gqinode->i_mutex, I_MUTEX_QUOTA);
- if (gqinode->i_size < off + len) {
+ if (i_size_read(gqinode) < off + len) {
down_write(&OCFS2_I(gqinode)->ip_alloc_sem);
err = ocfs2_extend_no_holes(gqinode, off + len, off);
up_write(&OCFS2_I(gqinode)->ip_alloc_sem);
diff --git a/fs/o...
2009 Jul 15
7
[PATCH 0/6] Quota fixes for 2.6.31-rc4
Hi,
I did some more in-depth testing of OCFS2 quota code, especially with ECC
feature enabled and spotted some problems. First four patches fix them.
I need the fifth patch to be able to mount OCFS2 filesystem with 2.6.31-rc3.
The sixth patch fixes a potential problem when quota syncing interval is
updated while the cluster is running (which is not possible currently).
Joel, could you please
2009 Jul 22
8
[PATCH 0/7] OCFS2 quota fixes (version 2)
Hi,
here is the second version of OCFS2 quota fixes with Joel's comments
fixed. Also I've added a patch defining counts of credits for quota
operations as Joel asked.
Honza
2012 Jun 25
4
fix mlog_errno in ocfs2_global_read_info
Hi, All,
When mount ocfs2 with option usrquota and grpquota, we will see below
message:
(mount.ocfs2,9434,1):ocfs2_global_read_info:403 ERROR: status = 24
(mount.ocfs2,9434,3):ocfs2_global_read_info:403 ERROR: status = 24
But actually this should not be a error.
In ocfs2_global_read_info, if read_quota() succeed, status is the size
of the struct ocfs2_global_disk_dqinfo, only when it is not
2009 Apr 08
0
[patch] unlock i_mutex in error path
There is an error path in ocfs2_quota_write() that doesn't unlock
&gqinode->i_mutex(). That seems unintentional.
Found by smatch (http://repo.or.cz/w/smatch.git). Compile tested.
regards,
dan carpenter
Signed-off-by: Dan Carpenter <error27 at gmail.com>
--- orig/fs/ocfs2/quota_global.c 2009-04-07 19:34:22.000000000 +0300
+++ devel/fs/ocfs2/quota_global.c 20...
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
2009 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
The following series of patches attempts to detach metadata I/O from
struct inode. They are currently tied together pretty tightly.
Metadata reads happen via the ocfs2_read_blocks() functions, writes via
both jbd2 and ocfs2_write_blocks().
- Each inode has a cache of associated metadata blocks stored on its
ip_metadata_cache member. The ocfs2_read/write_blocks() functions
take a struct