Drain per-cpu lists when high-order allocations fail
[linux-block.git] / include / linux / ufs_fs_sb.h
1 /* 
2  *  linux/include/linux/ufs_fs_sb.h
3  *
4  * Copyright (C) 1996
5  * Adrian Rodriguez (adrian@franklins-tower.rutgers.edu)
6  * Laboratory for Computer Science Research Computing Facility
7  * Rutgers, The State University of New Jersey
8  *
9  * $Id: ufs_fs_sb.h,v 1.8 1998/05/06 12:04:40 jj Exp $
10  *
11  * Write support by Daniel Pirkl <daniel.pirkl@email.cz>
12  */
13
14 #ifndef __LINUX_UFS_FS_SB_H
15 #define __LINUX_UFS_FS_SB_H
16
17
18 #define UFS_MAX_GROUP_LOADED 8
19 #define UFS_CGNO_EMPTY ((unsigned)-1)
20
21 struct ufs_sb_private_info;
22 struct ufs_cg_private_info;
23 struct ufs_csum;
24
25 struct ufs_sb_info {
26         struct ufs_sb_private_info * s_uspi;    
27         struct ufs_csum * s_csp;
28         unsigned s_bytesex;
29         unsigned s_flags;
30         struct buffer_head ** s_ucg;
31         struct ufs_cg_private_info * s_ucpi[UFS_MAX_GROUP_LOADED]; 
32         unsigned s_cgno[UFS_MAX_GROUP_LOADED];
33         unsigned short s_cg_loaded;
34         unsigned s_mount_opt;
35 };
36
37 #endif