summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-09-11 13:11:56 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2018-09-28 17:43:23 +0300
commitc59fd85e4fd07fdf0ab523a5e9734f5338d6aa19 (patch)
tree8ff912dba1ee787929c8bda338386b94e7f1e587 /scripts
parent63825b4e1da5a3cba79d835a5925e5daf7db3a77 (diff)
downloadlinux-c59fd85e4fd07fdf0ab523a5e9734f5338d6aa19.tar.xz
fuse: change interrupt requests allocation algorithm
Using of two unconnected IDs req->in.h.unique and req->intr_unique does not allow to link requests to a hash table. We need can't use none of them as a key to calculate hash. This patch changes the algorithm of allocation of IDs for a request. Plain requests obtain even ID, while interrupt requests are encoded in the low bit. So, in next patches we will be able to use the rest of ID bits to calculate hash, and the hash will be the same for plain and interrupt requests. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions