HFI1: working but a bit slow
This commit is contained in:
@@ -3096,9 +3096,9 @@ SYSCALL_DECLARE(writev)
|
||||
struct iovec *iovec = (struct iovec *)ihk_mc_syscall_arg1(ctx);
|
||||
int iovcnt = ihk_mc_syscall_arg2(ctx);
|
||||
void *private_data = proc->fd_priv_table[fd];
|
||||
if (private_data) hfi1_aio_write(private_data, iovec, iovcnt);
|
||||
return 1;
|
||||
// return syscall_generic_forwarding(__NR_writev, ctx);
|
||||
//if (private_data) hfi1_aio_write(private_data, iovec, iovcnt);
|
||||
//return 1;
|
||||
return syscall_generic_forwarding(__NR_writev, ctx);
|
||||
}
|
||||
|
||||
SYSCALL_DECLARE(read)
|
||||
|
||||
Reference in New Issue
Block a user