This is just a temporary commit that shows the bug and its
fix. It will be reverted once the problem is fixed.
The posix lock retry fails if the client specified timeout
is smaller than the hardcoded 1 second retry.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14113
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
--- /dev/null
+^samba3.smbtorture_s3.*.LOCK9B
DBG_DEBUG("Blocked on a posix lock. Retry in one second\n");
- tmp = timeval_current_ofs(1, 0);
+ tmp = timeval_current_ofs(15, 0);
endtime = timeval_min(&endtime, &tmp);
}
DBG_DEBUG("Blocked on a posix lock. Retry in one second\n");
- tmp = timeval_current_ofs(1, 0);
+ tmp = timeval_current_ofs(15, 0);
endtime = timeval_min(&endtime, &tmp);
}