Whamcloud - gitweb
b=191
[fs/lustre-release.git] / lustre / llite / super25.c
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  * Lustre Light Super operations
5  *
6  * This code is issued under the GNU General Public License.
7  * See the file COPYING in this distribution
8  *
9  * Copryright (C) 2002 Cluster File Systems, Inc.
10  */
11
12 #define DEBUG_SUBSYSTEM S_LLITE
13
14 #include <linux/module.h>
15 #include <linux/random.h>
16 #include <linux/version.h>
17 #include <linux/lustre_lite.h>
18 #include <linux/lustre_ha.h>
19 #include <linux/lustre_dlm.h>
20 #include <linux/init.h>
21 #include <linux/fs.h>
22 #include <linux/lprocfs_status.h>
23
24 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
25 kmem_cache_t *ll_file_data_slab;
26 extern struct address_space_operations ll_aops;
27 extern struct address_space_operations ll_dir_aops;
28 struct super_operations ll_super_operations;
29
30 extern int ll_init_inodecache(void);
31 extern void ll_destroy_inodecache(void);
32 extern int ll_recover(struct recovd_data *, int);
33 extern int ll_commitcbd_setup(struct ll_sb_info *);
34 extern int ll_commitcbd_cleanup(struct ll_sb_info *);
35 int ll_read_inode2(struct inode *inode, void *opaque);
36
37 extern void ll_proc_namespace(struct super_block* sb, char* osc, char* mdc)
38
39 static char *ll_read_opt(const char *opt, char *data)
40 {
41         char *value;
42         char *retval;
43         ENTRY;
44
45         CDEBUG(D_SUPER, "option: %s, data %s\n", opt, data);
46         if ( strncmp(opt, data, strlen(opt)) )
47                 RETURN(NULL);
48         if ( (value = strchr(data, '=')) == NULL )
49                 RETURN(NULL);
50
51         value++;
52         OBD_ALLOC(retval, strlen(value) + 1);
53         if ( !retval ) {
54                 CERROR("out of memory!\n");
55                 RETURN(NULL);
56         }
57
58         memcpy(retval, value, strlen(value)+1);
59         CDEBUG(D_SUPER, "Assigned option: %s, value %s\n", opt, retval);
60         RETURN(retval);
61 }
62
63 static int ll_set_opt(const char *opt, char *data, int fl)
64 {
65         ENTRY;
66
67         CDEBUG(D_SUPER, "option: %s, data %s\n", opt, data);
68         if ( strncmp(opt, data, strlen(opt)) )
69                 RETURN(0);
70         else
71                 RETURN(fl);
72 }
73
74 static void ll_options(char *options, char **ost, char **mds, int *flags)
75 {
76         char *opt_ptr = options;
77         char *this_char;
78         ENTRY;
79
80         if (!options) {
81                 EXIT;
82                 return;
83         }
84
85         while ((this_char = strsep (&opt_ptr, ",")) != NULL) {
86                 CDEBUG(D_SUPER, "this_char %s\n", this_char);
87                 if ( (!*ost && (*ost = ll_read_opt("osc", this_char)))||
88                      (!*mds && (*mds = ll_read_opt("mdc", this_char)))||
89                      (!(*flags & LL_SBI_NOLCK) && ((*flags) = (*flags) |
90                       ll_set_opt("nolock", this_char, LL_SBI_NOLCK))) )
91                         continue;
92         }
93         EXIT;
94 }
95
96 #ifndef log2
97 #define log2(n) ffz(~(n))
98 #endif
99
100
101 static int ll_fill_super(struct super_block *sb, void *data, int silent)
102 {
103         struct inode *root = 0;
104         struct obd_device *obd;
105         struct ll_sb_info *sbi;
106         char *osc = NULL;
107         char *mdc = NULL;
108         int err;
109         struct ll_fid rootfid;
110         struct obd_statfs osfs;
111         struct ptlrpc_request *request = NULL;
112         struct ptlrpc_connection *mdc_conn;
113         struct ll_read_inode2_cookie lic;
114         class_uuid_t uuid;
115
116         ENTRY;
117         MOD_INC_USE_COUNT;
118
119         OBD_ALLOC(sbi, sizeof(*sbi));
120         if (!sbi) {
121                 MOD_DEC_USE_COUNT;
122                 RETURN(-ENOMEM);
123         }
124
125         INIT_LIST_HEAD(&sbi->ll_conn_chain);
126         generate_random_uuid(uuid);
127         class_uuid_unparse(uuid, sbi->ll_sb_uuid);
128
129         sb->s_fs_info = sbi;
130
131         ll_options(data, &osc, &mdc, &sbi->ll_flags);
132
133         if (!osc) {
134                 CERROR("no osc\n");
135                 GOTO(out_free, sb = NULL);
136         }
137
138         if (!mdc) {
139                 CERROR("no mdc\n");
140                 GOTO(out_free, sb = NULL);
141         }
142
143         obd = class_uuid2obd(mdc);
144         if (!obd) {
145                 CERROR("MDC %s: not setup or attached\n", mdc);
146                 GOTO(out_free, sb = NULL);
147         }
148
149         err = obd_connect(&sbi->ll_mdc_conn, obd, sbi->ll_sb_uuid,
150                           ptlrpc_recovd, ll_recover);
151         if (err) {
152                 CERROR("cannot connect to %s: rc = %d\n", mdc, err);
153                 GOTO(out_free, sb = NULL);
154         }
155
156 #warning Peter: is this the right place to raise the connection level?
157         mdc_conn = sbi2mdc(sbi)->cl_import.imp_connection;
158         mdc_conn->c_level = LUSTRE_CONN_FULL;
159         list_add(&mdc_conn->c_sb_chain, &sbi->ll_conn_chain);
160
161         obd = class_uuid2obd(osc);
162         if (!obd) {
163                 CERROR("OSC %s: not setup or attached\n", osc);
164                 GOTO(out_mdc, sb = NULL);
165         }
166
167         err = obd_connect(&sbi->ll_osc_conn, obd, sbi->ll_sb_uuid,
168                           ptlrpc_recovd, ll_recover);
169         if (err) {
170                 CERROR("cannot connect to %s: rc = %d\n", osc, err);
171                 GOTO(out_mdc, sb = NULL);
172         }
173
174         err = mdc_getstatus(&sbi->ll_mdc_conn, &rootfid);
175         if (err) {
176                 CERROR("cannot mds_connect: rc = %d\n", err);
177                 GOTO(out_mdc, sb = NULL);
178         }
179         CDEBUG(D_SUPER, "rootfid "LPU64"\n", rootfid.id);
180         sbi->ll_rootino = rootfid.id;
181
182         memset(&osfs, 0, sizeof(osfs));
183         err = mdc_statfs(&sbi->ll_mdc_conn, &osfs);
184         sb->s_blocksize = osfs.os_bsize;
185         sb->s_blocksize_bits = log2(osfs.os_bsize);
186         sb->s_magic = LL_SUPER_MAGIC;
187         sb->s_maxbytes = (1ULL << (32 + 9)) - osfs.os_bsize;
188
189         sb->s_op = &ll_super_operations;
190
191         /* make root inode */
192         err = mdc_getattr(&sbi->ll_mdc_conn, sbi->ll_rootino, S_IFDIR,
193                           OBD_MD_FLNOTOBD|OBD_MD_FLBLOCKS, 0, &request);
194         if (err) {
195                 CERROR("mdc_getattr failed for root: rc = %d\n", err);
196                 GOTO(out_request, sb = NULL);
197         }
198
199         /* initialize committed transaction callback daemon */
200         spin_lock_init(&sbi->ll_commitcbd_lock);
201         init_waitqueue_head(&sbi->ll_commitcbd_waitq);
202         init_waitqueue_head(&sbi->ll_commitcbd_ctl_waitq);
203         sbi->ll_commitcbd_flags = 0;
204         err = ll_commitcbd_setup(sbi);
205         if (err) {
206                 CERROR("failed to start commit callback daemon: rc = %d\n",err);
207                 GOTO(out_request, sb = NULL);
208         }
209
210         lic.lic_body = lustre_msg_buf(request->rq_repmsg, 0);
211         lic.lic_lmm = NULL;
212         root = iget5_locked(sb, sbi->ll_rootino, NULL,
213                             ll_read_inode2, &lic);
214
215         if (root) {
216                 sb->s_root = d_alloc_root(root);
217         } else {
218                 CERROR("lustre_lite: bad iget4 for root\n");
219                 GOTO(out_cdb, sb = NULL);
220         }
221
222         ptlrpc_req_finished(request);
223         request = NULL;
224         ll_proc_namespace(sb, osc, mdc)
225 out_dev:
226         if (mdc)
227                 OBD_FREE(mdc, strlen(mdc) + 1);
228         if (osc)
229                 OBD_FREE(osc, strlen(osc) + 1);
230
231         RETURN(0);
232
233 out_cdb:
234         ll_commitcbd_cleanup(sbi);
235 out_request:
236         ptlrpc_req_finished(request);
237         obd_disconnect(&sbi->ll_osc_conn);
238 out_mdc:
239         obd_disconnect(&sbi->ll_mdc_conn);
240 out_free:
241         OBD_FREE(sbi, sizeof(*sbi));
242
243         MOD_DEC_USE_COUNT;
244         goto out_dev;
245 } /* ll_fill_super */
246
247 struct super_block * ll_get_sb(struct file_system_type *fs_type,
248                                int flags, char *devname, void * data)
249 {
250         return get_sb_nodev(fs_type, flags, data, ll_fill_super);
251 }
252
253 static void ll_put_super(struct super_block *sb)
254 {
255         struct ll_sb_info *sbi = ll_s2sbi(sb);
256         struct ll_fid rootfid;
257         ENTRY;
258
259         list_del(&sbi->ll_conn_chain);
260         ll_commitcbd_cleanup(sbi);
261         obd_disconnect(&sbi->ll_osc_conn);
262
263         /* NULL request to force sync on the MDS, and get the last_committed
264          * value to flush remaining RPCs from the pending queue on client.
265          *
266          * XXX This should be an mdc_sync() call to sync the whole MDS fs,
267          *     which we can call for other reasons as well.
268          */
269         mdc_getstatus(&sbi->ll_mdc_conn, &rootfid);
270
271         lprocfs_dereg_mnt(sbi->ll_proc_root);
272         sbi->ll_proc_root = NULL;
273
274         obd_disconnect(&sbi->ll_mdc_conn);
275         OBD_FREE(sbi, sizeof(*sbi));
276
277         MOD_DEC_USE_COUNT;
278         EXIT;
279 } /* ll_put_super */
280
281 static void ll_clear_inode(struct inode *inode)
282 {
283         ENTRY;
284
285         if (atomic_read(&inode->i_count) == 0) {
286                 struct ll_inode_info *lli = ll_i2info(inode);
287                 char *symlink_name = lli->lli_symlink_name;
288
289                 if (lli->lli_smd)
290                         obd_free_memmd(&sbi->ll_osc_conn, &lli->lli_smd);
291                 if (symlink_name) {
292                         OBD_FREE(symlink_name, strlen(symlink_name) + 1);
293                         lli->lli_symlink_name = NULL;
294                 }
295         }
296         EXIT;
297 }
298
299 static void ll_delete_inode(struct inode *inode)
300 {
301         ENTRY;
302         if (S_ISREG(inode->i_mode)) {
303                 int err;
304                 struct obdo *oa;
305                 struct lov_stripe_md *lsm = ll_i2info(inode)->lli_smd;
306
307                 if (!lsm)
308                         GOTO(out, -EINVAL);
309
310                 if (lsm->lsm_object_id == 0) {
311                         CERROR("This really happens\n");
312                         /* No obdo was ever created */
313                         GOTO(out, 0);
314                 }
315
316                 oa = obdo_alloc();
317                 if (oa == NULL)
318                         GOTO(out, -ENOMEM);
319
320                 oa->o_id = lsm->lsm_object_id;
321                 oa->o_mode = inode->i_mode;
322                 oa->o_valid = OBD_MD_FLID | OBD_MD_FLEASIZE | OBD_MD_FLTYPE;
323
324                 err = obd_destroy(ll_i2obdconn(inode), oa, lsm);
325                 obdo_free(oa);
326                 CDEBUG(D_SUPER, "obd destroy of objid "LPX64" error %d\n",
327                        lsm->lsm_object_id, err);
328         }
329 out:
330         clear_inode(inode);
331         EXIT;
332 }
333
334 /* like inode_setattr, but doesn't mark the inode dirty */
335 static int ll_attr2inode(struct inode * inode, struct iattr * attr, int trunc)
336 {
337         unsigned int ia_valid = attr->ia_valid;
338         int error = 0;
339
340         if ((ia_valid & ATTR_SIZE) && trunc) {
341                 error = vmtruncate(inode, attr->ia_size);
342                 if (error)
343                         goto out;
344         } else if (ia_valid & ATTR_SIZE)
345                 inode->i_size = attr->ia_size;
346
347         if (ia_valid & ATTR_UID)
348                 inode->i_uid = attr->ia_uid;
349         if (ia_valid & ATTR_GID)
350                 inode->i_gid = attr->ia_gid;
351         if (ia_valid & ATTR_ATIME)
352                 inode->i_atime = attr->ia_atime;
353         if (ia_valid & ATTR_MTIME)
354                 inode->i_mtime = attr->ia_mtime;
355         if (ia_valid & ATTR_CTIME)
356                 inode->i_ctime = attr->ia_ctime;
357         if (ia_valid & ATTR_MODE) {
358                 inode->i_mode = attr->ia_mode;
359                 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID))
360                         inode->i_mode &= ~S_ISGID;
361         }
362 out:
363         return error;
364 }
365
366 int ll_inode_setattr(struct inode *inode, struct iattr *attr, int do_trunc)
367 {
368         struct ptlrpc_request *request = NULL;
369         struct ll_sb_info *sbi = ll_i2sbi(inode);
370         int err;
371
372         ENTRY;
373
374         /* change incore inode */
375         ll_attr2inode(inode, attr, do_trunc);
376
377         err = mdc_setattr(&sbi->ll_mdc_conn, inode, attr, &request);
378         if (err)
379                 CERROR("mdc_setattr fails (%d)\n", err);
380
381         ptlrpc_req_finished(request);
382
383         RETURN(err);
384 }
385
386 int ll_setattr(struct dentry *de, struct iattr *attr)
387 {
388         int rc = inode_change_ok(de->d_inode, attr);
389
390         if (rc)
391                 return rc;
392
393         return ll_inode_setattr(de->d_inode, attr, 1);
394 }
395
396 static int ll_statfs(struct super_block *sb, struct statfs *sfs)
397 {
398         struct ll_sb_info *sbi = ll_s2sbi(sb);
399         struct obd_statfs osfs;
400         int rc;
401         ENTRY;
402
403         memset(sfs, 0, sizeof(*sfs));
404         rc = obd_statfs(&sbi->ll_mdc_conn, &osfs);
405         statfs_unpack(sfs, &osfs);
406         if (rc)
407                 CERROR("mdc_statfs fails: rc = %d\n", rc);
408         else
409                 CDEBUG(D_SUPER, "mdc_statfs shows blocks "LPU64"/"LPU64
410                        " objects "LPU64"/"LPU64"\n",
411                        osfs.os_bavail, osfs.os_blocks,
412                        osfs.os_ffree, osfs.os_files);
413
414         /* temporary until mds_statfs returns statfs info for all OSTs */
415         if (!rc) {
416                 rc = obd_statfs(&sbi->ll_osc_conn, &osfs);
417                 if (rc) {
418                         CERROR("obd_statfs fails: rc = %d\n", rc);
419                         GOTO(out, rc);
420                 }
421                 CDEBUG(D_SUPER, "obd_statfs shows blocks "LPU64"/"LPU64
422                        " objects "LPU64"/"LPU64"\n",
423                        osfs.os_bavail, osfs.os_blocks,
424                        osfs.os_ffree, osfs.os_files);
425
426                 while (osfs.os_blocks > ~0UL) {
427                         sfs->f_bsize <<= 1;
428
429                         osfs.os_blocks >>= 1;
430                         osfs.os_bfree >>= 1;
431                         osfs.os_bavail >>= 1;
432                 }
433                 sfs->f_blocks = osfs.os_blocks;
434                 sfs->f_bfree = osfs.os_bfree;
435                 sfs->f_bavail = osfs.os_bavail;
436                 if (osfs.os_ffree < (__u64)sfs->f_ffree)
437                         sfs->f_ffree = osfs.os_ffree;
438         }
439
440 out:
441         RETURN(rc);
442 }
443
444 void ll_update_inode(struct inode *inode, struct mds_body *body)
445 {
446         if (body->valid & OBD_MD_FLID)
447                 inode->i_ino = body->ino;
448         if (body->valid & OBD_MD_FLATIME)
449                 inode->i_atime = body->atime;
450         if (body->valid & OBD_MD_FLMTIME)
451                 inode->i_mtime = body->mtime;
452         if (body->valid & OBD_MD_FLCTIME)
453                 inode->i_ctime = body->ctime;
454         if (body->valid & OBD_MD_FLMODE)
455                 inode->i_mode = (inode->i_mode & S_IFMT)|(body->mode & ~S_IFMT);
456         if (body->valid & OBD_MD_FLTYPE)
457                 inode->i_mode = (inode->i_mode & ~S_IFMT)|(body->mode & S_IFMT);
458         if (body->valid & OBD_MD_FLUID)
459                 inode->i_uid = body->uid;
460         if (body->valid & OBD_MD_FLGID)
461                 inode->i_gid = body->gid;
462         if (body->valid & OBD_MD_FLFLAGS)
463                 inode->i_flags = body->flags;
464         if (body->valid & OBD_MD_FLNLINK)
465                 inode->i_nlink = body->nlink;
466         if (body->valid & OBD_MD_FLGENER)
467                 inode->i_generation = body->generation;
468         if (body->valid & OBD_MD_FLRDEV)
469                 inode->i_rdev = to_kdev_t(body->rdev);
470         if (body->valid & OBD_MD_FLSIZE)
471                 inode->i_size = body->size;
472 }
473
474 int ll_read_inode2(struct inode *inode, void *opaque)
475 {
476         struct ll_read_inode2_cookie *lic = opaque;
477         struct mds_body *body = lic->lic_body;
478         struct ll_inode_info *lli = ll_i2info(inode);
479         int rc = 0;
480         ENTRY;
481
482         sema_init(&lli->lli_open_sem, 1);
483
484         /* core attributes first */
485         ll_update_inode(inode, body);
486
487         //if (body->valid & OBD_MD_FLEASIZE)
488         LASSERT(!lli->lli_smd);
489         if (lic && lic->lic_lmm)
490                 obd_unpackmd(ll_i2obdconn(inode), &lli->lli_smd, lic->lic_lmm);
491
492         /* Get the authoritative file size */
493         if (lli->lli_smd && S_ISREG(inode->i_mode)) {
494                 rc = ll_file_size(inode, lli->lli_smd);
495                 if (rc) {
496                         CERROR("ll_file_size: %d\n", rc);
497                         /* FIXME: need to somehow prevent inode creation */
498                         LBUG();
499                         make_bad_inode(inode);
500                 }
501         }
502
503         /* OIDEBUG(inode); */
504
505         if (S_ISREG(inode->i_mode)) {
506                 inode->i_op = &ll_file_inode_operations;
507                 inode->i_fop = &ll_file_operations;
508                 inode->i_mapping->a_ops = &ll_aops;
509                 EXIT;
510         } else if (S_ISDIR(inode->i_mode)) {
511                 inode->i_op = &ll_dir_inode_operations;
512                 inode->i_fop = &ll_dir_operations;
513                 inode->i_mapping->a_ops = &ll_dir_aops;
514                 EXIT;
515         } else if (S_ISLNK(inode->i_mode)) {
516                 inode->i_op = &ll_fast_symlink_inode_operations;
517                 EXIT;
518         } else {
519                 init_special_inode(inode, inode->i_mode,
520                                    kdev_t_to_nr(inode->i_rdev));
521                 EXIT;
522         }
523
524         return rc;
525 }
526
527 static inline void invalidate_request_list(struct list_head *req_list)
528 {
529         struct list_head *tmp, *n;
530         list_for_each_safe(tmp, n, req_list) {
531                 struct ptlrpc_request *req =
532                         list_entry(tmp, struct ptlrpc_request, rq_list);
533                 CERROR("invalidating req xid %d op %d to %s:%d\n",
534                        (unsigned long long)req->rq_xid, req->rq_reqmsg->opc,
535                        req->rq_connection->c_remote_uuid,
536                        req->rq_import->imp_client->cli_request_portal);
537                 req->rq_flags |= PTL_RPC_FL_ERR;
538                 wake_up(&req->rq_wait_for_rep);
539         }
540 }
541
542 void ll_umount_begin(struct super_block *sb)
543 {
544         struct ll_sb_info *sbi = ll_s2sbi(sb);
545         struct list_head *ctmp;
546
547         ENTRY;
548
549         list_for_each(ctmp, &sbi->ll_conn_chain) {
550                 struct ptlrpc_connection *conn;
551                 conn = list_entry(ctmp, struct ptlrpc_connection, c_sb_chain);
552
553                 spin_lock(&conn->c_lock);
554                 conn->c_flags |= CONN_INVALID;
555                 invalidate_request_list(&conn->c_sending_head);
556                 invalidate_request_list(&conn->c_delayed_head);
557                 spin_unlock(&conn->c_lock);
558         }
559
560         EXIT;
561 }
562
563
564 static kmem_cache_t *ll_inode_cachep;
565
566 static struct inode *ll_alloc_inode(struct super_block *sb)
567 {
568         struct ll_inode_info *lli;
569         lli = kmem_cache_alloc(ll_inode_cachep, SLAB_KERNEL);
570         if (!lli)
571                 return NULL;
572
573         memset(lli, 0, (char *)&lli->lli_vfs_inode - (char *)lli);
574         sema_init(&lli->lli_open_sem, 1);
575
576         return &lli->lli_vfs_inode;
577 }
578
579 static void ll_destroy_inode(struct inode *inode)
580 {
581         kmem_cache_free(ll_inode_cachep, ll_i2info(inode));
582 }
583
584 static void init_once(void * foo, kmem_cache_t * cachep, unsigned long flags)
585 {
586         struct ll_inode_info *lli = foo;
587
588         if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
589             SLAB_CTOR_CONSTRUCTOR)
590                 inode_init_once(&lli->lli_vfs_inode);
591 }
592
593 int ll_init_inodecache(void)
594 {
595         ll_inode_cachep = kmem_cache_create("lustre_inode_cache",
596                                             sizeof(struct ll_inode_info),
597                                             0, SLAB_HWCACHE_ALIGN,
598                                             init_once, NULL);
599         if (ll_inode_cachep == NULL)
600                 return -ENOMEM;
601         return 0;
602 }
603
604 void ll_destroy_inodecache(void)
605 {
606         if (kmem_cache_destroy(ll_inode_cachep))
607                 CERROR("ll_inode_cache: not all structures were freed\n");
608 }
609
610
611
612 /* exported operations */
613 struct super_operations ll_super_operations =
614 {
615         alloc_inode: ll_alloc_inode,
616         destroy_inode: ll_destroy_inode,
617         clear_inode: ll_clear_inode,
618         delete_inode: ll_delete_inode,
619         put_super: ll_put_super,
620         statfs: ll_statfs,
621         umount_begin: ll_umount_begin
622 };
623
624 struct file_system_type lustre_lite_fs_type = {
625         .owner  = THIS_MODULE,
626         .name =   "lustre_lite",
627         .get_sb = ll_get_sb,
628         .kill_sb = kill_litter_super,
629 };
630
631 static int __init init_lustre_lite(void)
632 {
633         int rc;
634         printk(KERN_INFO "Lustre Lite 0.5.14, info@clusterfs.com\n");
635         rc = ll_init_inodecache();
636         if (rc)
637                 return -ENOMEM;
638         ll_file_data_slab = kmem_cache_create("ll_file_data",
639                                               sizeof(struct ll_file_data), 0,
640                                               SLAB_HWCACHE_ALIGN, NULL, NULL);
641         if (ll_file_data_slab == NULL) {
642                 ll_destroy_inodecache();
643                 return -ENOMEM;
644         }
645         return register_filesystem(&lustre_lite_fs_type);
646 }
647
648 static void __exit exit_lustre_lite(void)
649 {
650         unregister_filesystem(&lustre_lite_fs_type);
651         ll_destroy_inodecache();
652         kmem_cache_destroy(ll_file_data_slab);
653 }
654
655 MODULE_AUTHOR("Cluster File Systems, Inc. <info@clusterfs.com>");
656 MODULE_DESCRIPTION("Lustre Lite Client File System v1.0");
657 MODULE_LICENSE("GPL");
658
659 module_init(init_lustre_lite);
660 module_exit(exit_lustre_lite);
661 #endif