Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
The following test
addr = mmap(.., MAP_SHARED, ..);
for(;;)
memcpy(addr, ...);
leads to sigbus signal as vvp_io_fault_start() runs out of grants.
static int vvp_io_fault_start(const struct lu_env *env, const struct cl_io_slice *ios) ... result = cl_io_commit_async(env, io, plist, 0, to, mkwrite_commit_callback); ... /* we're in big trouble, what can we do now? */ if (result == -EDQUOT) result = -ENOSPC;