lkml.org 
[lkml]   [2022]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [man-pages RFC PATCH v4] statx, inode: document the new STATX_INO_VERSION field
Date
On Wed, 14 Sep 2022, Jeff Layton wrote:
>
> At that point, bumping i_version both before and after makes a bit more
> sense, since it better ensures that a change will be noticed, whether
> the related read op comes before or after the statx.

How does bumping it before make any sense at all? Maybe it wouldn't
hurt much, but how does it help anyone at all?

i_version must appear to change no sooner than the change it reflects
becomes visible and no later than the request which initiated that
change is acknowledged as complete.

Why would that definition ever not be satisfactory?

NeilBrown

\
 
 \ /
  Last update: 2022-09-14 01:24    [W:0.350 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site