Btrfs: document rules about bio async submit
authorLiu Bo <[email protected]>
Wed, 1 Nov 2017 23:19:27 +0000 (17:19 -0600)
committerDavid Sterba <[email protected]>
Mon, 22 Jan 2018 15:08:11 +0000 (16:08 +0100)
commit4c274bc67b8104c6aff89b4176395e368e8c231c
tree39ee15a9a1e66e7a2989eab1cbbfcfb3b45c8e28
parent057aac3e628f38df984b419f7458455bf698eb7e
Btrfs: document rules about bio async submit

These rules have been hidden in several if-else and are not
straightforward to follow, for example, dio submit hook's nocsum case
has a bug , i.e. doing async submit instead of sync submit, which has
been fixed recently.

This is documenting the rules for reference.

Signed-off-by: Liu Bo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/inode.c