Displaying 2 results from an estimated 2 matches for "ocfs2_do_qsync".
2008 Oct 20
0
[PATCH] ocfs2: Implement quota syncing thread
...k;
+ }
+ /* This also removes dquot from the list */
+ ocfs2_sync_dquot(dquot);
+ ocfs2_commit_trans(osb, handle);
+out_ilock:
+ brelse(oinfo->dqi_gqi_bh);
+ oinfo->dqi_gqi_bh = NULL;
+ ocfs2_inode_unlock(oinfo->dqi_gqinode, 1);
+out:
+ mlog_exit(status);
+ return status;
+}
+
+static void ocfs2_do_qsync(unsigned long oinfo_ptr)
+{
+ struct ocfs2_mem_dqinfo *oinfo = (struct ocfs2_mem_dqinfo *)oinfo_ptr;
+ struct super_block *sb = oinfo->dqi_gqinode->i_sb;
+
+ dquot_scan_active(sb, ocfs2_sync_dquot_helper, oinfo->dqi_type);
+}
+
+static void qsync_timer_fn(unsigned long oinfo_ptr)
+{
+ stru...
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