someone1
Dabbler
- Joined
- Jun 17, 2013
- Messages
- 37
Would the general recommendation of needing sync=always be false now that the experimental iSCSI provider lives in the kernel space? It seems this bug fixes a known issue with sync writes and using iSCSI. Members of FreeNAS' core team even suggest this isn't necessary.
That is, sync=always was used to remediate the fact that istgt would not appropriately issue sync writes. However, we can now expect the new experimental iSCSI provider to do so. One would assume systems should issue sync writes when those writes are expected to be written (e.g. databases, VMs, etc.) and issue/allow asynchronous writes for the rest. I know assumptions are not great to drive decisions off of, but light research has led me to believe that most hypervisors always issue sync writes to the underlying storage layer of their VMs and so do SQL databases.
In particular, is the statement "iSCSI by default does not implement sync writes" in Option #3 given here still accurate? If not, Option #4 would not be required as using sync=standard should guarantee any sync write requests are properly handled.
I'd like to hear what other people's opinion on the matter is!
That is, sync=always was used to remediate the fact that istgt would not appropriately issue sync writes. However, we can now expect the new experimental iSCSI provider to do so. One would assume systems should issue sync writes when those writes are expected to be written (e.g. databases, VMs, etc.) and issue/allow asynchronous writes for the rest. I know assumptions are not great to drive decisions off of, but light research has led me to believe that most hypervisors always issue sync writes to the underlying storage layer of their VMs and so do SQL databases.
In particular, is the statement "iSCSI by default does not implement sync writes" in Option #3 given here still accurate? If not, Option #4 would not be required as using sync=standard should guarantee any sync write requests are properly handled.
I'd like to hear what other people's opinion on the matter is!