Project

General

Profile

Osd - ScrubSnapTrim IO prioritization » History » Version 1

Jessica Mack, 07/03/2015 09:05 PM

1 1 Jessica Mack
h1. Osd - ScrubSnapTrim IO prioritization
2 1 Jessica Mack
3 1 Jessica Mack
h3. Summary
4 1 Jessica Mack
5 1 Jessica Mack
At the moment, scrub and snap trimming live in their own work queues in the disk tp.  As a result, there is not sufficiently fine grained control over how scrub and snap trimming interact with servicing client requests.  I propose processing these tasks through the OpWQ instead.  That way, each scrub/snap trim item can have an associated priority and cost as with client IO and recovery messages.
6 1 Jessica Mack
7 1 Jessica Mack
h3. Owners
8 1 Jessica Mack
9 1 Jessica Mack
* Samuel Just (Red Hat)
10 1 Jessica Mack
* Name (Affiliation)
11 1 Jessica Mack
* Name
12 1 Jessica Mack
13 1 Jessica Mack
h3. Interested Parties
14 1 Jessica Mack
15 1 Jessica Mack
* Name (Affiliation)
16 1 Jessica Mack
* Name (Affiliation)
17 1 Jessica Mack
* Name
18 1 Jessica Mack
19 1 Jessica Mack
h3. Current Status
20 1 Jessica Mack
21 1 Jessica Mack
Scrub and snap trim currently operate in their own work queues which limits our ability to prioritize client IO vs these tasks.
22 1 Jessica Mack
23 1 Jessica Mack
h3. Detailed Description
24 1 Jessica Mack
25 1 Jessica Mack
Probably, we simply expand the type in the OpWQ to be a Message|ScrubItem|SnapTrimItem and process them appropriately.
26 1 Jessica Mack
27 1 Jessica Mack
h3. Work items
28 1 Jessica Mack
29 1 Jessica Mack
h4. Coding tasks
30 1 Jessica Mack
31 1 Jessica Mack
# Task 1
32 1 Jessica Mack
# Task 2
33 1 Jessica Mack
# Task 3
34 1 Jessica Mack
35 1 Jessica Mack
h4. Build / release tasks
36 1 Jessica Mack
37 1 Jessica Mack
# Task 1
38 1 Jessica Mack
# Task 2
39 1 Jessica Mack
# Task 3
40 1 Jessica Mack
41 1 Jessica Mack
h4. Documentation tasks
42 1 Jessica Mack
43 1 Jessica Mack
# Task 1
44 1 Jessica Mack
# Task 2
45 1 Jessica Mack
# Task 3
46 1 Jessica Mack
47 1 Jessica Mack
h4. Deprecation tasks
48 1 Jessica Mack
49 1 Jessica Mack
# Task 1
50 1 Jessica Mack
# Task 2
51 1 Jessica Mack
# Task 3