On 4/27/18 1:57 AM, Paolo Valente wrote: > Should Jens' commit for bfq be still blocked by my concern, this is The patch is in. > just to inform you that I think I found a way to improve bfq, so that > it can handle also requests that are prepared, but then disappear > without any communication to bfq. In particular, my change would This is going about it in totally the wrong way. If things magically disappear "without any communication to bfq", then it's either a bug in the scheduling framework OR a bug in bfq. Those are the only two options. Request don't magically appear or disappear, they follow a specific set of rules. > include Jens's change, so I will simply base my change on Jens' one, > and I remove my disagreement. Of course, Jens' change alone would > just move the system from an immediate crash, to an unpredictable > behavior, which may include later crashes. Can we please stop with this nonsense. A (->priv[0]) and B (->priv[1]) are valid, IFF C (->elv.icq) is valid. The patch ensures we clear A and B, if C isn't valid. There's nothing unpredictable about the patch. -- Jens Axboe