Merge tag 'defer-elide-create-done-6.8_2023-12-06' of https://git.kernel.org/pub...
authorChandan Babu R <chandanbabu@kernel.org>
Thu, 7 Dec 2023 08:40:55 +0000 (14:10 +0530)
committerChandan Babu R <chandanbabu@kernel.org>
Thu, 7 Dec 2023 08:40:55 +0000 (14:10 +0530)
commit9f334526ee0a3e43328663306315929ebff5390e
tree092327a399d4deb4626c1358ea7c25c63ff319d6
parent47c460efc4675433c523e61a58ffb41d1af946df
parent9c07bca793b4ff9f0b7871e2a928a1b28b8fa4e3
Merge tag 'defer-elide-create-done-6.8_2023-12-06' of https://git./linux/kernel/git/djwong/xfs-linux into xfs-6.8-mergeA

xfs: elide defer work ->create_done if no intent

Christoph pointed out that the defer ops machinery doesn't need to call
->create_done if the deferred work item didn't generate a log intent
item in the first place.  Let's clean that up and save an indirect call
in the non-logged xattr update call path.

This has been lightly tested with fstests.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
* tag 'defer-elide-create-done-6.8_2023-12-06' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
  xfs: elide ->create_done calls for unlogged deferred work
  xfs: document what LARP means