You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While playing around with the "TRIM" support, I found it nothing happens when using offset 0 (using nbd-server). I think exptrim contains an off-by-one bug:
if(prev.startoff < req->from) {
should be
if(prev.startoff <= req->from) {
Although, that's my suspicion. Only confirmed to work for a single-file export.
The text was updated successfully, but these errors were encountered:
I must admit that the TRIM code hasn't been tested much. I implemented it before the support for it was in the kernel, and my tester client doesn't try it...
While playing around with the "TRIM" support, I found it nothing happens when using offset 0 (using nbd-server). I think exptrim contains an off-by-one bug:
should be
Although, that's my suspicion. Only confirmed to work for a single-file export.
The text was updated successfully, but these errors were encountered: