On 9/29/23 03:27, John Garry wrote:
+ if (pos % atomic_write_unit_min_bytes) + return false; + if (iov_iter_count(iter) % atomic_write_unit_min_bytes) + return false; + if (!is_power_of_2(iov_iter_count(iter))) + return false;
[ ... ]
+ if (pos % iov_iter_count(iter)) + return false;
Where do these rules come from? Is there any standard that requires any of the above? Thanks, Bart.