- * Ignore layout change.
- * Most of the CIT_MISC operations can ignore layout change, because
- * the purpose to create this kind of cl_io is to give an environment
- * to run clio methods, for example:
- * 1. request group lock;
- * 2. flush caching pages by osc;
- * 3. writepage
- * 4. echo client
- * So far, only direct IO and glimpse clio need restart if layout
- * change during IO time.
+ * to not refresh layout - the IO issuer knows that the layout won't
+ * change(page operations, layout change causes all page to be
+ * discarded), or it doesn't matter if it changes(sync).
+ */
+ ci_ignore_layout:1,
+ /**
+ * Check if layout changed after the IO finishes. Mainly for HSM
+ * requirement. If IO occurs to openning files, it doesn't need to
+ * verify layout because HSM won't release openning files.
+ * Right now, only two opertaions need to verify layout: glimpse
+ * and setattr.