Skip to content

Why do small files still get written to the main pool VDEVs when a special Allocation Class VDEV is active and being written to? #9342

Answered by thulle
recklessnl asked this question in Q&A
Discussion options

You must be logged in to vote

@recklessnl That's not in question, the question is whether the writes go to the special vdev or the main pool.

Sync writes go both to ZIL and special vdev. If the ZIL is on the main pool you will write to both main pool and special vdev.
Async writes doesn't have to be writte to the ZIL, so writes should go straight to the special vdev.

If async writes are seen on the main pool, there might be some bug here in selecting small blocks for the special vdev.
If you add a SLOG the sync writes should end up on SLOG and Special vdev instead of pool and special vdev.

edit: I'm not using correct terminology, main pool = harddrive VDEV.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by behlendorf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #9342 on December 21, 2020 21:20.