75aa038d9f
[ Upstream commit 8a6291bf3b0eae1bf26621e6419a91682f2d6227 ]
Instead of relying on the value of the 'bytes_left' field, we should
calculate the layout size based on the offset of the request that is
being written out.
Reported-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
blocklayout.c | ||
blocklayout.h | ||
dev.c | ||
extent_tree.c | ||
rpc_pipefs.c |