mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Fix 32 bit io regression
In commitba1dbafc1f
I reverted9942fc82d4
, which was a workaround for an upstream 32bit libaio bug. Oops. Signed-off-by: Brett Holman <bholman.devel@gmail.com>
This commit is contained in:
parent
76821f0760
commit
2de72a59e0
@ -368,9 +368,9 @@ static void aio_op(struct bio *bio, struct iovec *iov, unsigned i, int opcode)
|
||||
? bio->bi_bdev->bd_sync_fd
|
||||
: bio->bi_bdev->bd_fd,
|
||||
.aio_lio_opcode = opcode,
|
||||
.u.v.vec = iov,
|
||||
.u.v.nr = i,
|
||||
.u.v.offset = bio->bi_iter.bi_sector << 9,
|
||||
.u.c.buf = iov,
|
||||
.u.c.nbytes = i,
|
||||
.u.c.offset = bio->bi_iter.bi_sector << 9,
|
||||
|
||||
}, *iocbp = &iocb;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user