super.c (38fd2c202a3d82bc12430bce5789fa2c2a406f71) | super.c (ff8fb335221e2c446b0d4cbea26be371fd2feb64) |
---|---|
1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * super.c 5 * 6 * load/unload driver, mount/dismount volumes 7 * 8 * Copyright (C) 2002, 2004 Oracle. All rights reserved. --- 54 unchanged lines hidden (view full) --- 63#include "inode.h" 64#include "journal.h" 65#include "localalloc.h" 66#include "namei.h" 67#include "slot_map.h" 68#include "super.h" 69#include "sysfile.h" 70#include "uptodate.h" | 1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * super.c 5 * 6 * load/unload driver, mount/dismount volumes 7 * 8 * Copyright (C) 2002, 2004 Oracle. All rights reserved. --- 54 unchanged lines hidden (view full) --- 63#include "inode.h" 64#include "journal.h" 65#include "localalloc.h" 66#include "namei.h" 67#include "slot_map.h" 68#include "super.h" 69#include "sysfile.h" 70#include "uptodate.h" |
71#include "ver.h" | |
72#include "xattr.h" 73#include "quota.h" 74#include "refcounttree.h" 75#include "suballoc.h" 76 77#include "buffer_head_io.h" 78 79static struct kmem_cache *ocfs2_inode_cachep = NULL; --- 5 unchanged lines hidden (view full) --- 85 * types of work tend to be heavy we avoid using the kernel events 86 * workqueue and schedule on our own. */ 87struct workqueue_struct *ocfs2_wq = NULL; 88 89static struct dentry *ocfs2_debugfs_root = NULL; 90 91MODULE_AUTHOR("Oracle"); 92MODULE_LICENSE("GPL"); | 71#include "xattr.h" 72#include "quota.h" 73#include "refcounttree.h" 74#include "suballoc.h" 75 76#include "buffer_head_io.h" 77 78static struct kmem_cache *ocfs2_inode_cachep = NULL; --- 5 unchanged lines hidden (view full) --- 84 * types of work tend to be heavy we avoid using the kernel events 85 * workqueue and schedule on our own. */ 86struct workqueue_struct *ocfs2_wq = NULL; 87 88static struct dentry *ocfs2_debugfs_root = NULL; 89 90MODULE_AUTHOR("Oracle"); 91MODULE_LICENSE("GPL"); |
92MODULE_DESCRIPTION("OCFS2 cluster file system"); |
|
93 94struct mount_options 95{ 96 unsigned long commit_interval; 97 unsigned long mount_opt; 98 unsigned int atime_quantum; 99 signed short slot; 100 int localalloc_opt; --- 1512 unchanged lines hidden (view full) --- 1613} 1614 1615wait_queue_head_t ocfs2__ioend_wq[OCFS2_IOEND_WQ_HASH_SZ]; 1616 1617static int __init ocfs2_init(void) 1618{ 1619 int status, i; 1620 | 93 94struct mount_options 95{ 96 unsigned long commit_interval; 97 unsigned long mount_opt; 98 unsigned int atime_quantum; 99 signed short slot; 100 int localalloc_opt; --- 1512 unchanged lines hidden (view full) --- 1613} 1614 1615wait_queue_head_t ocfs2__ioend_wq[OCFS2_IOEND_WQ_HASH_SZ]; 1616 1617static int __init ocfs2_init(void) 1618{ 1619 int status, i; 1620 |
1621 ocfs2_print_version(); 1622 | |
1623 for (i = 0; i < OCFS2_IOEND_WQ_HASH_SZ; i++) 1624 init_waitqueue_head(&ocfs2__ioend_wq[i]); 1625 1626 status = init_ocfs2_uptodate_cache(); 1627 if (status < 0) 1628 goto out1; 1629 1630 status = ocfs2_initialize_mem_caches(); --- 1027 unchanged lines hidden --- | 1621 for (i = 0; i < OCFS2_IOEND_WQ_HASH_SZ; i++) 1622 init_waitqueue_head(&ocfs2__ioend_wq[i]); 1623 1624 status = init_ocfs2_uptodate_cache(); 1625 if (status < 0) 1626 goto out1; 1627 1628 status = ocfs2_initialize_mem_caches(); --- 1027 unchanged lines hidden --- |