- if (*max_index == 0 || ccc_index(cp) > *max_index)
- rc = cl_page_is_under_lock(env, io, page, max_index);
+ /* Disable the optimization on prefetching maximum readahead
+ * index because there is a race with lock cancellation. This
+ * optimization will be revived later.
+ * if (*max_index == 0 || ccc_index(cp) > *max_index) */
+ rc = cl_page_is_under_lock(env, io, page, max_index);