commit | e67b9287df3531ee295e54f2420001c535dc191a | [log] [tgz] |
---|---|---|
author | Justin Eno <jeno@micron.com> | Tue Jan 27 14:23:20 2015 -0800 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:58:15 2015 -0800 |
tree | 777a0ae6d8200240c897a190ca498947402712ee | |
parent | eaa89f5256b92e78067dc3649e4d9b7a70149302 [diff] |
Better accommodate random writes larger than blockalign fill_io_u() fails prematurely if the randomly-chosen offset satisfies blockalign but not min_bs, i.e., the offset lies too near the end of the target region. This change honors both parameters. Signed-off-by: Justin Eno <jeno@micron.com> Signed-off-by: Jens Axboe <axboe@fb.com>