Commit Graph

3184 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
fac3136093 marsadm: new infrastructure for prosumers 2021-02-15 13:50:18 +01:00
Thomas Schoebel-Theuer
1c85d3eb4a marsadm: show prosumer info 2021-02-15 13:50:18 +01:00
Thomas Schoebel-Theuer
f29d9ce540 marsadm: specific todo switches 2021-02-15 13:50:18 +01:00
Thomas Schoebel-Theuer
2664dc227e main: corner case LocalProsumer 2021-02-15 13:50:18 +01:00
Thomas Schoebel-Theuer
1e18140c01 main: disallow fresh open when gate is active 2021-02-15 13:50:18 +01:00
Thomas Schoebel-Theuer
3aaeb73dfc if: disallow open when busy 2021-02-15 13:50:18 +01:00
Thomas Schoebel-Theuer
89f39cae07 main: maintain prosumer epoch timestamp 2021-02-15 13:50:18 +01:00
Thomas Schoebel-Theuer
2574f2135e client: avoid distributed deadlock 2021-02-15 13:50:18 +01:00
Thomas Schoebel-Theuer
4651cf5d7a client: request connections with prosumer epoch 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
0115feeeb8 server: obey prosumer epoch timestamp 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
14ddf5cd03 net: allow pre-initialized cmd_stamp 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
f0544839f7 client: fatal abort on epoch mismatch 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
5dd5ea462c main: use the logger epoch 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
e0a046e93f if: add open_epoch timestamp 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
dad576a6d5 infra: introduce logger epoch timestamp 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
dc67a6f90b main: activate rot and peer for diskless guests 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
f09425fd66 main: allow empty replay for updating reports 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
ee56137924 logger: allow empty replay 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
3423e87bfa main: adapt is_primary to prosumer 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
080be8ab22 main: new response prosumer 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
fe9822e810 main: ability to look at peer switches 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
2b272ef52b main: new control prosumer 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
382939b1fd main: diskless guests can disable initial space check 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
3230323159 client: report connection errors 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
30a0f5dccf client: more precise connection_state reporting 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
7fbaf12cf2 client: handle responses to logger connections 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
390e2ae88f main: show prosumer exports 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
dd85511f61 infra: allow direct connections to logger 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
5622440abd net: separate port and class MARS_TRAFFIC_PROSUMER 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
06e8ee19e6 main: report logger stor_state 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
4158e28945 main: factor out versionlink and digest retrieval 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
c8f4384d21 logger: add stor_state 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
171ea00a25 sio: add stor_state 2021-02-15 13:50:17 +01:00
Thomas Schoebel-Theuer
7f819973dc aio: add stor_state 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
cfe48a2050 bio: add stor_state 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
72f7ac5e85 infra: new struct stor_state 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
bbb852a8dc main: new response gate-{on,queued} 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
9fac7fb2e3 main: new controls gate{,inhibit} 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
8bf2e6dc24 infra: new brick mars_gate 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
ed313ef705 infra: allow rewiring during operation 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
48bd4bb014 infra: remove superfluous parameter 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
81a6fde0d5 if: allow forceful shutdown 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
d73e3bdf86 if: report any error code 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
30d184e0ae if: lock defective device against re-creating 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
9cd4a15b2c if: more cond_resched() 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
875e70bd6c if: reject IO to offline device 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
f6557610cc if: fix and simplify unlocking 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
d7811ead1c infra: remove superfluous new_name from make_brick_all() 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
916c4dd5dd infra: bypass name in make_brick_all() 2021-02-15 13:50:16 +01:00
Thomas Schoebel-Theuer
ffee628ffe infra: remove name from mars_make_brick() 2021-02-15 13:50:16 +01:00