xfs
[Top] [All Lists]

[PATCH 7/9] xfs: WQ_NON_REENTRANT is meaningless and going away

To: linux-kernel@xxxxxxxxxxxxxxx, laijs@xxxxxxxxxxxxxx
Subject: [PATCH 7/9] xfs: WQ_NON_REENTRANT is meaningless and going away
From: Tejun Heo <tj@xxxxxxxxxx>
Date: Tue, 30 Jul 2013 08:40:26 -0400
Cc: shli@xxxxxxxxxx, Tejun Heo <tj@xxxxxxxxxx>, Ben Myers <bpm@xxxxxxx>, Alex Elder <elder@xxxxxxxxxx>, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=bqfEhnFzg80sIAZqB12FT7sRWKssxz2MmImfTGS6aRw=; b=QbyrRw5MPe2pArC+QNQCooCg7FB+kx9hmF7pdWUu1pTPJ3h3/EPlL+YX0THpr0hRa9 mRUvF8986jF/WW//ZA+oHvXuEJto9QGV6Dtlcw5miJ5grtwl3ayvcAUSblmc7FX6ogBm 0Fs0g/4DNvCmHsif75pdYnpINLCwNdYaanRRclrQCMPQvpvWTEryWvYKOJ8IPGIyYWIk guKvySEKBcJncE6ZJ6WOhnhppBmIPh9VhRyneM8yEQLzIaiN9qHLmA95eRWdKD22POE0 Y8B+cUM0fYsl5ZqOnL8Ois/IcRNq9BdD6kJpAn/o4Z3IZocNF0dzxGgzOOhEPO5vEOZ/ aSow==
In-reply-to: <1375188028-11910-1-git-send-email-tj@xxxxxxxxxx>
References: <1375188028-11910-1-git-send-email-tj@xxxxxxxxxx>
Sender: Tejun Heo <htejun@xxxxxxxxx>
Hello,

Please route this through the subsystem tree.  As written in the
description, this shouldn't make any functional difference and just
prepares for the removal of WQ_NON_REENTRANT which is already noop.

Thanks.

------ 8< -------
dbf2576e37 ("workqueue: make all workqueues non-reentrant") made
WQ_NON_REENTRANT no-op and the flag is going away.  Remove its usages.

This patch doesn't introduce any behavior changes.

Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
Cc: Ben Myers <bpm@xxxxxxx>
Cc: Alex Elder <elder@xxxxxxxxxx>
Cc: xfs@xxxxxxxxxxx
---
 fs/xfs/xfs_super.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 1d68ffc..aeef0fc 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -870,17 +870,17 @@ xfs_init_mount_workqueues(
                goto out_destroy_unwritten;
 
        mp->m_reclaim_workqueue = alloc_workqueue("xfs-reclaim/%s",
-                       WQ_NON_REENTRANT, 0, mp->m_fsname);
+                       0, 0, mp->m_fsname);
        if (!mp->m_reclaim_workqueue)
                goto out_destroy_cil;
 
        mp->m_log_workqueue = alloc_workqueue("xfs-log/%s",
-                       WQ_NON_REENTRANT, 0, mp->m_fsname);
+                       0, 0, mp->m_fsname);
        if (!mp->m_log_workqueue)
                goto out_destroy_reclaim;
 
        mp->m_eofblocks_workqueue = alloc_workqueue("xfs-eofblocks/%s",
-                       WQ_NON_REENTRANT, 0, mp->m_fsname);
+                       0, 0, mp->m_fsname);
        if (!mp->m_eofblocks_workqueue)
                goto out_destroy_log;
 
-- 
1.8.3.1

<Prev in Thread] Current Thread [Next in Thread>