Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] request_timer continuous loop if there is disk-timeout
@ 2016-03-11  7:30 박경민
  2016-03-11 10:02 ` Lars Ellenberg
  0 siblings, 1 reply; 4+ messages in thread
From: 박경민 @ 2016-03-11  7:30 UTC (permalink / raw)
  To: drbd-dev


[-- Attachment #1.1: Type: text/plain, Size: 851 bytes --]

Hello.
I'm a software engineer in Mantech.

In testing about disk-timeout property,
if not default value, which will lead into a continuous loop.

in request_timer_fn()
...
if (device->disk_state[NOW] > D_FAILED) {
et = min_not_zero(et, dt);
next_trigger_time = time_min_in_future(now,
next_trigger_time, oldest_submit_jif + dt);
restart_timer = true;
}
...
I think, if there is no request, next_trigger_time should be calculated
below
next_trigger_time = time_min_in_future(now,
next_trigger_time + *dt*, oldest_submit_jif + dt);

However, I can't be sure.

Thanks

-- 

기술연구소                  Mobile : 010-4762-0519

*박 경 민 차장*              kmpak@mantech.co.kr

서울특별시 성동구 성수일로4길 25 서울숲코오롱디지털타워 12층

Fax : 02-575-4858 / Tel : (02) 2136-6978 (978)

[-- Attachment #1.2: Type: text/html, Size: 3499 bytes --]

[-- Attachment #2: image002.png --]
[-- Type: image/png, Size: 16223 bytes --]

[-- Attachment #3: image001.png --]
[-- Type: image/png, Size: 4544 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-14 10:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3.1457694002.12272.drbd-dev@lists.linbit.com>
2016-03-14  5:37 ` [Drbd-dev] drbd-dev Digest, Vol 133, Issue 7 박경민
2016-03-14 10:23   ` [Drbd-dev] request_timer continuous loop if there is disk-timeout Lars Ellenberg
2016-03-11  7:30 박경민
2016-03-11 10:02 ` Lars Ellenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox