* The file is detaching, firstly write out all dirty pages and then
* unmap and remove all pagecache associated with the PCC backend.
*/
- rc = filemap_write_and_wait_range(mapping, 0, LUSTRE_EOF);
+ rc = filemap_write_and_wait(mapping);
if (rc)
CWARN("%s: Failed to write out data for file fid="DFID"\n",
ll_i2sbi(inode)->ll_fsname, PFID(ll_inode2fid(inode)));
* mapping from the PCC copy to the Lustre file for PCC mmap().
*/
- rc = filemap_write_and_wait_range(mapping, 0, LUSTRE_EOF);
+ rc = filemap_write_and_wait(mapping);
if (rc)
return rc;
wait_event_idle(pcci->pcci_waitq,
atomic_read(&pcci->pcci_active_ios) == 0);
- rc = filemap_write_and_wait_range(pcc_inode->i_mapping, 0, LUSTRE_EOF);
+ rc = filemap_write_and_wait(pcc_inode->i_mapping);
if (rc)
return rc;
if [[ -r /etc/redhat-release ]]; then
rhel_version=$(sed -e 's/[^0-9.]*//g' /etc/redhat-release)
if (( $(version_code $rhel_version) >= $(version_code 9.3.0) )); then
- always_except EX-8739 6 7a 7b 23 35 # PCC-RW
always_except LU-17289 102 # fio io_uring
always_except LU-17781 33 # inconsistent LSOM
elif (( $(version_code $rhel_version) >= $(version_code 8.9.0) )); then