passthrough_example: make parallel_direct_writes more clearly
authoryangyun <yangyun50@huawei.com>
Fri, 23 Feb 2024 03:06:08 +0000 (11:06 +0800)
committeryangyun <yangyun50@huawei.com>
Fri, 23 Feb 2024 07:01:29 +0000 (15:01 +0800)
commitfce970c313bf25ba9ae5b6a335e3293736df3d48
treee38ec6d010af8c954e7c954c5fcf0e2ff6470800
parent402c8fff588120a7cf5922822904ce45f30612a8
passthrough_example: make parallel_direct_writes more clearly

Move the parallel_direct_writes enable action to the init function in high level API,
it is more recommended just like commit 8ee553dac. Besides, add some comments to show
that the feature parallel_direct_writes is depend on the feature direct_io (refer to
link: https://lwn.net/ml/linux-fsdevel/
20230918150313.3845114-1-bschubert@ddn.com for the reason).
example/passthrough.c
example/passthrough_fh.c
example/passthrough_hp.cc
example/passthrough_ll.c