diff options
author | Chunwei Chen <[email protected]> | 2016-07-27 17:55:32 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-07-29 14:48:19 -0700 |
commit | 3b86aeb2952c91aeb8ed0ebf9d5e43119fa537a0 (patch) | |
tree | 37b94f2a75deb3e22ca75f050c23c67b9e7b82f1 /module/zfs/zfs_ioctl.c | |
parent | 76e5f6fe10ab8c9c8ae13e4c33ecb68f3d0ce5dc (diff) |
Linux 4.8 compat: REQ_OP and bio_set_op_attrs()
New REQ_OP_* definitions have been introduced to separate the
WRITE, READ, and DISCARD operations from the flags. This included
changing the encoding of bi_rw. It places REQ_OP_* in high order
bits and other stuff in low order bits. This encoding is done
through the new helper function bio_set_op_attrs. For complete
details refer to:
https://github.com/torvalds/linux/commit/f215082
https://github.com/torvalds/linux/commit/4e1b2d5
Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Chunwei Chen <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #4892
Closes #4899
Diffstat (limited to 'module/zfs/zfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions