On Thu, Aug 22, 2019 at 9:33 AM Murphy Zhou <jencce.kernel@xxxxxxxxx> wrote: > > Just like what we do for ftruncate. (Why not) > Without this patch, cifs, sometimes NFS, fail to update timestamps > after truncate call. Digging through history: 4a30131e7dbb ("[PATCH] Fix some problems with truncate and mtime semantics.") 6e656be89999 ("[PATCH] ftruncate does not always update m/ctime") These are pretty old commits (>10years); has anything changed since then relative to the required semantics for truncate/ftruncate? Thanks, Miklos