Adam, At the moment, the PR does not address handling O_DIRECT with zvol's. Brian Behlendorf and I started to do that originally in the PR, but we ran into some issues. We decided to bench adding O_DIRECT support with zvol's till the main PR was merged in master.
-- Brian Atkinson ________________________________ From: adam.blaszczykow...@gmail.com <adam.blaszczykow...@gmail.com> Sent: Wednesday, March 1, 2023 5:57:06 AM To: openzfs-developer Subject: [EXTERNAL] [developer] Direct IO Support for ZVOL's in OpenZFS Hello, I am currently testing zfs version (2.1.99) https://github.com/openzfs/zfs/tree107a7bd91317b7ef8016d8c7834436207dd62734<https://urldefense.com/v3/__https://github.com/openzfs/zfs/tree/107a7bd91317b7ef8016d8c7834436207dd62734__;!!Bt8fGhp8LhKGRg!GBj2CDNeD8vHAywdBP8lY2I4Fzd4dVuvRQD4E3cR00PY2WbIPi95kQZKGXpwDpRL1qKJxPSI-INxyEbuCPO_slPw1UvD$> with O_DIRECT support. For datasets, O_DIRECT works. I have a question, is it possible to use O_DIRECT for zvol's? Regards Adam openzfs<https://urldefense.com/v3/__https://openzfs.topicbox.com/latest__;!!Bt8fGhp8LhKGRg!GBj2CDNeD8vHAywdBP8lY2I4Fzd4dVuvRQD4E3cR00PY2WbIPi95kQZKGXpwDpRL1qKJxPSI-INxyEbuCPO_snsmpcYQ$> / openzfs-developer / see discussions<https://urldefense.com/v3/__https://openzfs.topicbox.com/groups/developer__;!!Bt8fGhp8LhKGRg!GBj2CDNeD8vHAywdBP8lY2I4Fzd4dVuvRQD4E3cR00PY2WbIPi95kQZKGXpwDpRL1qKJxPSI-INxyEbuCPO_slQkH9mj$> + participants<https://urldefense.com/v3/__https://openzfs.topicbox.com/groups/developer/members__;!!Bt8fGhp8LhKGRg!GBj2CDNeD8vHAywdBP8lY2I4Fzd4dVuvRQD4E3cR00PY2WbIPi95kQZKGXpwDpRL1qKJxPSI-INxyEbuCPO_soAsf1OC$> + delivery options<https://urldefense.com/v3/__https://openzfs.topicbox.com/groups/developer/subscription__;!!Bt8fGhp8LhKGRg!GBj2CDNeD8vHAywdBP8lY2I4Fzd4dVuvRQD4E3cR00PY2WbIPi95kQZKGXpwDpRL1qKJxPSI-INxyEbuCPO_skW7u5Im$> Permalink<https://urldefense.com/v3/__https://openzfs.topicbox.com/groups/developer/T98b7f11aaf2aa20d-M094428fba443a91fd0c15047__;!!Bt8fGhp8LhKGRg!GBj2CDNeD8vHAywdBP8lY2I4Fzd4dVuvRQD4E3cR00PY2WbIPi95kQZKGXpwDpRL1qKJxPSI-INxyEbuCPO_snEL9p2d$> ------------------------------------------ openzfs: openzfs-developer Permalink: https://openzfs.topicbox.com/groups/developer/T98b7f11aaf2aa20d-M2b0e251162bde1c106629cee Delivery options: https://openzfs.topicbox.com/groups/developer/subscription