summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-09-11 12:11:56 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2018-09-28 16:43:23 +0200
commitc59fd85e4fd07fdf0ab523a5e9734f5338d6aa19 (patch)
tree8ff912dba1ee787929c8bda338386b94e7f1e587 /fs/fuse/fuse_i.h
parentfuse: do not take fc->lock in fuse_request_send_background() (diff)
downloadlinux-c59fd85e4fd07fdf0ab523a5e9734f5338d6aa19.tar.xz
linux-c59fd85e4fd07fdf0ab523a5e9734f5338d6aa19.zip
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 'fs/fuse/fuse_i.h')
0 files changed, 0 insertions, 0 deletions