I learned that O_APPEND is atomic, and from this question I knew that O_APPEND is atomic when size below PIPE_BUF.
But, why? Before write append, the current file offset must be updated to the end of file, how to graduate the two operation is atomic?
Thanks for your answer.