diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-05-18 05:18:44 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-06-05 20:34:39 +0200 |
commit | 1cf89a8dee5e6e9d4fcb81b571a54d40068dfbb7 (patch) | |
tree | 7b6efc6b2c66d905c9c9be2842ba4d3a7bbf67f0 /fs/ceph/file.c | |
parent | Linux 5.2-rc3 (diff) | |
download | linux-1cf89a8dee5e6e9d4fcb81b571a54d40068dfbb7.tar.xz linux-1cf89a8dee5e6e9d4fcb81b571a54d40068dfbb7.zip |
ceph: single workqueue for inode related works
We have three workqueue for inode works. Later patch will introduce
one more work for inode. It's not good to introcuce more workqueue
and add more 'struct work_struct' to 'struct ceph_inode_info'.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/file.c')
-rw-r--r-- | fs/ceph/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c index 305daf043eb0..183c37c0a8fc 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c @@ -791,7 +791,7 @@ static void ceph_aio_complete_req(struct ceph_osd_request *req) if (aio_work) { INIT_WORK(&aio_work->work, ceph_aio_retry_work); aio_work->req = req; - queue_work(ceph_inode_to_client(inode)->wb_wq, + queue_work(ceph_inode_to_client(inode)->inode_wq, &aio_work->work); return; } |