Whamcloud - gitweb
merge HEAD into b_devel:
authorphil <phil>
Sun, 3 Aug 2003 20:57:17 +0000 (20:57 +0000)
committerphil <phil>
Sun, 3 Aug 2003 20:57:17 +0000 (20:57 +0000)
 - fix for bug 1598
 - temporary flag-clearing until bug 974 is fixed
 - new GM nal

lustre/obdclass/obdo.c

index f1d1b27..bae7e71 100644 (file)
@@ -209,9 +209,8 @@ void obdo_refresh_inode(struct inode *dst, struct obdo *src, obd_flag valid)
                 LTIME_S(dst->i_ctime) = src->o_ctime;
         if (valid & OBD_MD_FLSIZE && src->o_size > dst->i_size)
                 dst->i_size = src->o_size;
-        /* optimum IO size */
-        if (valid & OBD_MD_FLBLKSZ)
-                dst->i_blksize = src->o_blksize;
+        /* Bug 1598: don't ever update i_blksize here; it needs to be managed
+         * by the LOV */
         /* allocation of space */
         if (valid & OBD_MD_FLBLOCKS && src->o_blocks > dst->i_blocks)
                 dst->i_blocks = src->o_blocks;