Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Tue, 8 Aug 2006 12:05:54 +0000 (12:05 +0000)
committerwangdi <wangdi>
Tue, 8 Aug 2006 12:05:54 +0000 (12:05 +0000)
commit2b152f21b052e305b0d146a8a004e34ac09004ad
tree65dcd47f530cfbc87562c4f7085c393e4a6406e0
parent6288fd6b4a57d6223bff93878876a0e5cbeee473
Branch: b_new_cmd
1)we should set size to ost object after creating ost object,
  if the object size is not zero because of truncate.
2)enable ATTR_SIZE in osd_inode_setattr, since we could set size in mds
  for reg file, but not truncate.
lustre/mdd/mdd_handler.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_lov.c
lustre/osd/osd_handler.c