Question about which types of dm need to support DAX
Hi Ross, Toshi, Jeff and others
After reading the kernel patches[1][2][3] about dm, I think only three types(linear, stripe and log-writes) of dm can support DAX now, right?
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=98d82f48f1983ceef5c8d2f6c87bfee2918790ee
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=beec25b4573bc310f5a12cf33207b20ecc30945c
[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=84b22f8378cf493524043a0a8dd567c58c64546f
In addition, I also saw that Jeff has added a check[4] for the DAX support of dm in xfstests.
I wonder why only three types of dm need to support DAX? Is there any reason/history and use case?
Is it necessary to make other types (for example, thin-pool) support DAX? If necessary, is there any use case for other types?
Best Regards,
Xiao Yang
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Hi All,
Ping. Is there any feedback about the question?
Best Regards,
Xiao Yang
Quoted 16 lines · Xiao/杨 晓
Hi Ross, Toshi, Jeff and others
After reading the kernel patches[1][2][3] about dm, I think only three
types(linear, stripe and log-writes)of dm can support DAX now, right?In addition, I also saw that Jeff has added a check[4] for the DAX support of dm in xfstests.
Quoted 12 lines
I wonder why only three types of dm need to support DAX? Is there any reason/history and use case?
Is it necessary to make other types (for example, thin-pool) support DAX? If necessary, is there any use case for other types?
Best Regards,
Xiao YangSignature · 3 lines
dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 4 lines · Xiao/杨 晓
Hi Ross, Toshi, Jeff and others
After reading the kernel patches[1][2][3] about dm, I think only three
types(linear, stripe and log-writes)of dm can support DAX now, right?
Right.
Quoted 2 lines
I wonder why only three types of dm need to support DAX? Is there any reason/history and use case?
It was easy to add DAX support to those targets. Note that if a target needs to intercept I/O, then it is fundamentally incompatible with DAX.
Cheers,
Jeff
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Hi Jeff,
Thanks a lot for your reply.
Quoted 7 lines · Jeff Moyer
Quoted 4 lines · Xiao/杨 晓
Hi Ross, Toshi, Jeff and others
After reading the kernel patches[1][2][3] about dm, I think only three
types(linear, stripe and log-writes)of dm can support DAX now, right?
Quoted 7 lines
Right.
Quoted 2 lines
I wonder why only three types of dm need to support DAX? Is there any reason/history and use case?
It was easy to add DAX support to those targets. Note that if a target needs to intercept I/O, then it is fundamentally incompatible with DAX.
How can I know which target needs to intercept I/O? Could you tell me why it is fundamentally incompatible with DAX?
Best Regards,
Xiao Yang
Quoted 4 lines
Cheers,
Jeff
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 14 lines · Xiao/杨 晓
Hi Jeff,
Thanks a lot for your reply.
Quoted 9 lines · Jeff Moyer
Quoted 4 lines · Xiao/杨 晓
Hi Ross, Toshi, Jeff and others
After reading the kernel patches[1][2][3] about dm, I think only three
types(linear, stripe and log-writes)of dm can support DAX now, right?Right.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
I wonder why only three types of dm need to support DAX? Is there any reason/history and use case?
It was easy to add DAX support to those targets. Note that if a target needs to intercept I/O, then it is fundamentally incompatible with DAX.
How can I know which target needs to intercept I/O?
There's no better way than reading and understanding what each target does.
Quoted 1 line
Could you tell me why it is fundamentally incompatible with DAX?
DAX stands for direct access, and it is a mechanism by which a user-space process can perform I/O without going through the kernel.
-Jeff
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Hello Jeff-san,
Quoted 15 lines
Quoted 11 lines · Xiao/杨 晓
Hi Jeff,
Thanks a lot for your reply.
Quoted 6 lines · Jeff Moyer
Quoted 4 lines · Xiao/杨 晓
Hi Ross, Toshi, Jeff and others
After reading the kernel patches[1][2][3] about dm, I think only three
types(linear, stripe and log-writes)of dm can support DAX now,right?
Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines
Right.
Quoted 2 lines
I wonder why only three types of dm need to support DAX? Is there any reason/history and use case?
It was easy to add DAX support to those targets. Note that if a target needs to intercept I/O, then it is fundamentally incompatible with
DAX.
I would like to know its use case.
Though my team has been made effort for a long time to remove experimental of FS-DAX,
we still need one more time to solve thin-pool (or other DM feature) v.s. DAX problem even if it is easy.
To be honest, I'm under criticism for taking such a long time and still not be able to remove experimental. In addition, there are a few persons who insist Fujitsu should stop development of FS-DAX due to too much time for development
I hope that my team can continue to make effort for FS-DAX.
If there is a use-case of thin-pool, then I'll be able to persuade such persons by it. So I would appreciate it if you could tell me about the use case.
Thanks,
---
Yasunori Goto
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 19 lines · Jeff Moyer
Quoted 17 lines · Xiao/杨 晓
Hi Jeff,
Thanks a lot for your reply.
Quoted 12 lines · Jeff Moyer
Quoted 4 lines · Xiao/杨 晓
Hi Ross, Toshi, Jeff and others
After reading the kernel patches[1][2][3] about dm, I think only three
types(linear, stripe and log-writes)of dm can support DAX now, right?Right.
Quoted 2 lines
I wonder why only three types of dm need to support DAX? Is there any reason/history and use case?
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
It was easy to add DAX support to those targets. Note that if a target needs to intercept I/O, then it is fundamentally incompatible with DAX.
How can I know which target needs to intercept I/O?
There's no better way than reading and understanding what each target does.
Hi Jeff,
After reading the code about thin provisioning target, thin provisioning target depends on DM_BUFIO kconfig which is designed to cache I/O. Is it what you said about "intercept I/O"? Perhaps, we have to drop DM_BUFIO for thin provisioning target if we want to make it support DAX.
Best Regards,
Xiao Yang
Quoted 8 lines
Quoted 2 lines
Could you tell me why it is fundamentally incompatible with DAX?
DAX stands for direct access, and it is a mechanism by which a user-space process can perform I/O without going through the kernel.
-Jeff
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel