From: adilger Date: Tue, 21 Dec 1999 00:41:19 +0000 (+0000) Subject: doc/obd-howto.sgml: added issues/bugs section X-Git-Tag: v1_7_100~6161 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=852cdc6be859a37f6f26b7f7c2848f458998e043 doc/obd-howto.sgml: added issues/bugs section snap/*.sh: added brief comments to each script --- diff --git a/lustre/obdfs/README b/lustre/obdfs/README index 31e0010..12eb4d6 100644 --- a/lustre/obdfs/README +++ b/lustre/obdfs/README @@ -9,14 +9,14 @@ directory. 3. insmod obdfs -4. mount -t obdfs /dev/obd /mnt +4. mount -t obdfs -o device=/dev/obd0 /dev/obd0 /mnt/obd To verify: type mount (output: -/dev/obd on /mnt type obdfs (rw)) +/dev/obd on /mnt/obd type obdfs (rw)) -5. ls -ld /mnt +5. ls -ld /mnt/obd -6. chmod 711 /mnt, ls -ld /mnt +6. chmod 711 /mnt/obd, ls -ld /mnt/obd -7. chown seagate /mnt , ls -ld /mnt +7. chown disk /mnt/obd, ls -ld /mnt/obd diff --git a/lustre/obdfs/namei.c b/lustre/obdfs/namei.c index 12d0bb6..6630079 100644 --- a/lustre/obdfs/namei.c +++ b/lustre/obdfs/namei.c @@ -860,8 +860,7 @@ int obdfs_symlink (struct inode * dir, struct dentry *dentry, const char * symna symname [l]; l++) ; - /* For obdfs we always use normal (not fast) symlinks - if (l >= sizeof (inode->u.ext2_i.i_data)) { */ + if (l >= sizeof (inode->u.ext2_i.i_data)) { CDEBUG(D_INODE, "l=%d, normal symlink\n", l); name_page = obdfs_getpage(inode, 0, 1, LOCKED); @@ -873,12 +872,12 @@ int obdfs_symlink (struct inode * dir, struct dentry *dentry, const char * symna return err; } link = (char *)page_address(name_page); - /* } else { + } else { link = (char *) inode->u.ext2_i.i_data; CDEBUG(D_INODE, "l=%d, fast symlink\n", l); - } */ + } i = 0; while (i < inode->i_sb->s_blocksize - 1 && (c = *(symname++))) link[i++] = c;