@@ -515,10 +515,9 @@
#define OBD_FAIL_UNKNOWN_LMV_STRIPE 0x1901
/* FLR */
-#define OBD_FAIL_FLR_GLIMPSE_IMMUTABLE 0x1A00
-#define OBD_FAIL_FLR_LV_DELAY 0x1A01
-#define OBD_FAIL_FLR_LV_INC 0x1A02
-#define OBD_FAIL_FLR_RANDOM_PICK_MIRROR 0x1A03
+#define OBD_FAIL_FLR_LV_DELAY 0x1A01
+#define OBD_FAIL_FLR_LV_INC 0x1A02
+#define OBD_FAIL_FLR_RANDOM_PICK_MIRROR 0x1A03
/* LNet is allocated failure locations 0xe000 to 0xffff */
/* Assign references to moved code to reduce code changes */
@@ -540,13 +540,6 @@ static int lov_io_slice_init(struct lov_io *lio, struct lov_object *obj,
case CIT_GLIMPSE:
lio->lis_pos = 0;
lio->lis_endpos = OBD_OBJECT_EOF;
-
- if (lov_flr_state(obj) == LCM_FL_RDONLY &&
- !OBD_FAIL_CHECK(OBD_FAIL_FLR_GLIMPSE_IMMUTABLE)) {
- /* SoM is accurate, no need glimpse */
- result = 1;
- goto out;
- }
break;
case CIT_MISC: