From: vs Date: Thu, 23 Oct 2008 14:19:48 +0000 (+0000) Subject: b=11063 X-Git-Tag: v1_7_130~1^76 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b1e3c6319a14eee9433d249ad3195d19e1c22f17;p=fs%2Flustre-release.git b=11063 i=green,vitaly this patch reverses https://bugzilla.lustre.org/attachment.cgi?id=7933 https://bugzilla.lustre.org/attachment.cgi?id=7882 https://bugzilla.lustre.org/attachment.cgi?id=15831 and replaces them with setting mtime to past under extent lock sanity test (39c) is added to check original problem i=adilger,grev --- diff --git a/lustre/lov/lov_internal.h b/lustre/lov/lov_internal.h index 7796f63..46fa422 100644 --- a/lustre/lov/lov_internal.h +++ b/lustre/lov/lov_internal.h @@ -157,6 +157,8 @@ int lov_merge_lvb(struct obd_export *exp, struct lov_stripe_md *lsm, struct ost_lvb *lvb, int kms_only); int lov_adjust_kms(struct obd_export *exp, struct lov_stripe_md *lsm, obd_off size, int shrink); +int lov_update_lvb(struct obd_export *exp, struct lov_stripe_md *lsm, + struct ost_lvb *lvb, obd_flag valid); /* lov_offset.c */ obd_size lov_stripe_size(struct lov_stripe_md *lsm, obd_size ost_size,