Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.5.0
-
3
-
10036
Description
In osc_io_read_start() and osc_io_write_start() if the lockless IO bit is set in the osc_io then the inode timestamps are not updated by the IO. Is there any reason for this?
In osc_io_write_start() we have the following unnecessary attr get before we set the m- and c-times?
result = cl_object_attr_get(env, obj, attr); if (result == 0) { attr->cat_mtime = attr->cat_ctime = LTIME_S(CFS_CURRENT_TIME); result = cl_object_attr_set(env, obj, attr, CAT_MTIME | CAT_CTIME); }
Attachments
Issue Links
- is related to
-
LU-3832 osc_io_read_start() ignores O_NOATIME, updates i_atime
- Closed