Skip to content
Commit 1a0fd497 authored by Neil Brown's avatar Neil Brown
Browse files

Don't try to make md arrays dirty if that is not meaningful.



Arrays personalities such as 'raid0' and 'linear' have no redundancy,
and so marking them as 'clean' or 'dirty' is not meaningful.
So always allow write requests without requiring a superblock update.

Such arrays types are detected by ->sync_request being NULL.  If it is
not possible to send a sync request we don't need a 'dirty' flag because
all a dirty flag does is trigger some sync_requests.

Signed-off-by: default avatarNeil Brown <neilb@suse.de>
parent f48ed538
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment