File: rport_state_diagram.dot

package info (click to toggle)
linux 6.1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,488,076 kB
  • sloc: ansic: 23,401,844; asm: 266,744; sh: 108,976; makefile: 49,705; python: 36,927; perl: 36,810; cpp: 6,044; yacc: 4,904; lex: 2,722; awk: 1,440; ruby: 25; sed: 5
file content (26 lines) | stat: -rw-r--r-- 1,301 bytes parent folder | download | duplicates (46)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
digraph srp_initiator {
	node [shape = doublecircle]; running lost;
	node [shape = circle];

	{
	  rank = min;
	  running_rta	[ label = "running;\nreconnect\ntimer\nactive" ];
	};
	running		[ label = "running;\nreconnect\ntimer\nstopped" ];
	blocked;
	failfast	[ label = "fail I/O\nfast" ];
	lost;

	running -> running_rta		[ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nsrp_start_tl_fail_timers()" ];
	running_rta -> running		[ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nreconnecting succeeded" ];
	running -> blocked		[ label = "fast_io_fail_tmo >= 0 or\ndev_loss_tmo >= 0;\nsrp_start_tl_fail_timers()" ];
	running -> failfast		[ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nreconnecting failed\n" ];
	blocked -> failfast		[ label = "fast_io_fail_tmo\nexpired or\nreconnecting\nfailed" ];
	blocked -> lost			[ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
	failfast -> lost		[ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
	blocked -> running		[ label = "reconnecting\nsucceeded" ];
	failfast -> failfast		[ label = "reconnecting\nfailed" ];
	failfast -> running		[ label = "reconnecting\nsucceeded" ];
	running -> lost			[ label = "srp_stop_rport_timers()" ];
	running_rta -> lost		[ label = "srp_stop_rport_timers()" ];
}