From patchwork Fri Oct 14 15:34:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9376971 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1A3C26022E for ; Fri, 14 Oct 2016 15:37:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A7362A69D for ; Fri, 14 Oct 2016 15:37:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F32452A76C; Fri, 14 Oct 2016 15:37:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 906682A69D for ; Fri, 14 Oct 2016 15:37:15 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9EFYnPr023120; Fri, 14 Oct 2016 11:34:49 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u9EFYmKq023666 for ; Fri, 14 Oct 2016 11:34:48 -0400 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9EFYmbr018279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 14 Oct 2016 11:34:48 -0400 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0045.outbound.protection.outlook.com [104.47.37.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1FCDA9F748 for ; Fri, 14 Oct 2016 15:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=uajqQzPOu6dgEbJ1QN9L8shsgZVIFZHieTRn2v3HaI4=; b=dRh3C+nOTQn7+u4Tl7NsApFgS4tiB9k2T0txFyg4GQwnjI/kgnRmqc8PMVheNfBQ6b8N9RLQtTZjPIMVwhzECOs/1Ly0xNpzr4h1w9Rw0kF+iATg7N5SMjBJiDRJVlFjc0HIgzpE4pqdXNDTs5p/CBTNZ9UIupx5mFe3BO+6OKE= Received: from CY1PR0201CA0009.namprd02.prod.outlook.com (10.163.30.147) by CY1PR02MB1628.namprd02.prod.outlook.com (10.162.160.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16; Fri, 14 Oct 2016 15:34:31 +0000 Received: from BL2FFO11FD024.protection.gbl (2a01:111:f400:7c09::101) by CY1PR0201CA0009.outlook.office365.com (2a01:111:e400:58b9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12 via Frontend Transport; Fri, 14 Oct 2016 15:34:31 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; opensvc.com; dkim=none (message not signed) header.d=none;opensvc.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BL2FFO11FD024.mail.protection.outlook.com (10.173.161.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.7 via Frontend Transport; Fri, 14 Oct 2016 15:34:30 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 67.FB.26959.E88F0085; Fri, 14 Oct 2016 08:23:58 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Fri, 14 Oct 2016 08:34:29 -0700 X-AuditID: 0ac94369-babff7000001694f-8f-5800f88e5c40 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id B7.42.05397.20BF0085; Fri, 14 Oct 2016 08:34:29 -0700 (PDT) To: Christophe Varoqui References: From: Bart Van Assche Message-ID: <5e2dbb22-cfa0-28e4-bea7-ac0129c6b433@sandisk.com> Date: Fri, 14 Oct 2016 08:34:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsXCddJ5kW7fD4YIg/mHtCzWfZzLZrH33WxW ByaPNbdPs3q833eVLYApissmJTUnsyy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/e58e0Je81V+Gi/so7orrl/ZX9erqnN XnpS1SCSU/p8xIEI6QfHfaWCQmeWizyquSo+7eT8GzOesbTNKzp4xfq8YGTJ5DSDDarikUcn Lp7lurThwCfjuEZhnoXrHC6XeWYZLeO3nM33sWe91ypBo6PSQW1/nx435/C8mMX3Naa8x62y SYmlOCPRUIu5qDgRAADx6U/jAQAA X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(15975445007)(68736007)(8936002)(31696002)(76176999)(11100500001)(81156014)(19580395003)(356003)(8676002)(19580405001)(230700001)(65956001)(23676002)(626004)(97736004)(586003)(54356999)(7846002)(2906002)(305945005)(33646002)(81166006)(64126003)(53416004)(6666003)(110136003)(2270400002)(86362001)(4326007)(36756003)(92566002)(69596002)(77096005)(5660300001)(4001350100001)(50466002)(106466001)(83506001)(2950100002)(50986999)(65826007)(47776003)(31686004)(189998001)(229853001)(6916009)(65806001)(87936001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR02MB1628; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD024; 1:Q3it2ktV2ylpjJNCm2YzX2WFt7wHHl/OMclDCTzpqeO4jDe4zempZt2Uwdp7+BeiRBxPdgSpNi30IoErMkb8fsfF9QsDVGctJHMMRjD4SzSMMdJ0qROa5Vy4r8MtzGg7Uruj9ZYRLF/zjh4xMezBjVRWEhdCTY3MNhgQeHP7fxE0Rs6SIUgA5RxD7lLGe+K6PQ7FNgSb3R67VnPrNsR3CVcXYOGRpV9UjZZ8gp7PjYz8V2h76lgtm99P/MrSyS3pAavRmtGTK3Lda5tBahYI2BVJUxcBt9Pz6jaiJzezHvEO8lj9xm8ZArwrWwqjAF/ZDR+7u9bSPtF6iWDF9UhlLQKZUP/bn5uiYfC+rn6+CLppWtWKo+QDm2DKluorKD51czM7jQw471s7SfhYg3ezh9uDkh85MaR1UsGAigKnKi23agi0JU1geOh5pKLxZZUGbLyPo29+KmdEtcfE7YvlZ0b7dtj3iZ13ADVtv6UqgK7it7U7vt1oFst3AODLyBws X-MS-Office365-Filtering-Correlation-Id: 46680469-d540-4166-2563-08d3f4479799 X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1628; 2:GZDos+/WYXRM3NGGjH971Ao8N5tRNlvT7WMRFJp14xDi8l/d1DZylsZRA0T1bvl6WzUIBE7//6TIahxgk7VE9uo9bF5SiQH29qpuMi230tFsub5KbGufoPny/crbvFL8ZJP4dgbgAgnU5dqyxOncORX8Ul+MszWM7UGikXy41OlpRXndL3Wm1za0ZRNqHwttEIKfIuYTeaZV+wqc+IN7Pg==; 3:Gpz9moOX9T3FJmAk5RJPL5Vuqk3GEZkhrhRjZBLxNcA8yy+k+cy242mUtvR213iotnoD2MqeJLqvESCbOMu2ux5wFPC2EDAtGyV96yTv/+mD9g4qjJCtpPhrbH0nUOBU6voaT9b8Vl9dXLyKRvVv3J53B7Vu2gH8BeaesLO9r4NBeFJErUJr+ighl1A/lbhoze09GfMnDDdEWCW+g0SYwEzz+plqbjJz81krH6ilg8PnDSdahz2eLtQETQ5b81rvh9R906kmC26790k11oMHzGTWJHiQULsIDh7WKy78DVQ=; 25:nfUUEdCgd9hhg0L4TUEbwAxSMWgTWLKxOtV11aXecRIrJQHbxVLLvHmL/PlfV/5NClx5fGfNx2O4xJxGzAfzOMesryLQ9eLLtSCn3g5dI4ThZReLvT8f6srTo6SEtIkB9E9Nk59Ft/CzT7H1iE6BWE4eWhfNw0HDl9G11gJJeGfmNJsKsMqUTCY9mnZAGDWL8UsJxaTTuu8Z8EjDIsbBIRGLdJXgcaIY66662UtocY+C9b7xt3vJBjx1Lk+/0ROU1tFfWVOwPE24vSiXqHE4sXDUKvtFfu4FLh99d2uyTD49Mlj3rIrreL9uFvK4DZc8osFf55kEtqVxcoJLSUOIf5+bB5qu0z6bu+Lh7ovkkma0vacgJUieJeNm5Qb24I/UqqcE+LcfRxa0SKOvXmLVtcy60cQ1uPbqnPRfdMxV+mMTHfSfO+dDqkG3PmLplS9h X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:CY1PR02MB1628; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1628; 31:JdQpNBsxa923LV5XsDYD8aXaxI+rEAO46ds8VPSkDpaU5kaeVWTs/3oY9Lhm/OiQg2KIh1QyapF068/ljlT17FuRgIXi9I9tmXInjssH2pVPuyJSkiBKr1Wpdi9cJdzPbSaCejPFHi9I2kZ1kJza6RdUudQeeaUVgk2Ijz8oroXbWEPuh5jsjo9ANMcCFqunWrONhK3q93Qgv7eq9J7J39W9Toy3q6bhQEw2oM+b/WIdvr4mCTvr/NwO+SIaNpGb; 20:OxQR8T0X7YGw+7cRBNffsuIqVALPy/YlYFwbs8OxChZNACpq07nlCS1K75FAy0Qdx9dXbhOzDUZhE5M71rwWyxdbnmPrHRhrQSOk6UAYnyLd8WzzvTyGNhRqFefZ1+DHfWgoZDfya4Eb5YfbTcboRLsKNKOqEIrDyvy2/Z7XI53T+7WXLO/nWIuRTO8XRoxdvrF5vnUqyLhn7PrycSyBaEFnaI9VgdznB94Fu1zdAC6YTcMCUAE29q/Xj+RfMRKcAlmG1OARBkAyZAz4kTqhWKroJt8IQqL/0MHAR+wLyg6ULggSqsLyIuSAETEV/MYULHy5qcLI7jJL32EcvVKrEI1in23KeqnVmpG0XdFJE572DsUPOwR4bwYouzjgVAfqj9oLCleG1j37BYeGsV2gmUYU305k9UyDVDyqDRVZ+tu4FI23AQQR7nA1jNaNtYiDX0x4UBnDJ9qx97fbaFiThsRnwlwwxZ0bJKSsKa+GNSXPn+XekdZ/Rn6u2QP0UvU8 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13016025)(8121501046)(5005006)(13018025)(10201501046)(3002001)(6055026); SRVR:CY1PR02MB1628; BCL:0; PCL:0; RULEID:; SRVR:CY1PR02MB1628; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1628; 4:qmwVNV880xfkCvMud8hgwmz3CkS6Bbu6obCZXadVO/PTB6nSVO+Fb3mZrXEKwVYIgMEJOB0FquB/TNHMoMc4BAwHAay/iUzRNX5feOkETKPUdwOOJZbKQGSwKXCd5zteNWtW4Lx5mspo4SlQ74qM3589TvncrF4yZhoT6ttJ3fHcc/YxccO2lQze2uaarqeg8uJmc9c0jYjaTfkZs/GgmkVMhIEx55aTkNqIckmJAuJK1rTCSFLR2DEsVPRg7AOI3xKPNzXEgXhdUhpWXh6I6XBtskuAvO4xIMLbVCVsZSV4oGugtvsF1Mp9SE4pPI2VA/sNYCXRxB4aqCHCeytTqBuZOj6BgGdrXC20x0U1ArYBFKampJoE1WtaqE6+tW7T1d8eZx5z4992dC2RdjDgwdwbu7xRDBCQ2QWtAH+y7cuCfiX1xly/YY1nnUHSTNfy6TFd3LUj/4uCrOsfxTTIrxGJo+wGk4v6lvvAtBmALw/p46/ioOeBoHu0QC8qXWKyhvTzGwpdznYcTKYwVuXhkaBKf+aFlV0NEELCWpMZHos= X-Forefront-PRVS: 0095BCF226 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAyTUIxNjI4OzIzOldhVHFFaTNMYmpMeVVzc3MycVRydFNFN0pD?= =?utf-8?B?OEszRyt6RThhanR4MGtxZ2VaNGphZnpGazR6Qi9QNktHcWlLNkxFbXdXazBK?= =?utf-8?B?QnBTdTBqYndwYXZPRHB6Z0JIN2ZNUWsxN1MvVnhqL3lnQnFzd1podzZ0MFlD?= =?utf-8?B?R1RSdS9oTnlQbUc2YkgwMGpSRHdoVnlSUmFZZFZQcmZoNTdwaWNCZG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MqHfZbfqdhPLscj+gQfAn9VC6hrvwkkawwxfmsWJZiasQRZsv2Z+0ogkrdcYArmkwI1ON9 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2016 15:34:30.9503 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR02MB1628 X-Greylist: Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 14 Oct 2016 15:34:41 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 14 Oct 2016 15:34:41 +0000 (UTC) for IP:'104.47.37.45' DOMAIN:'mail-cys01nam02on0045.outbound.protection.outlook.com' HELO:'NAM02-CY1-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.368 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS) 104.47.37.45 mail-cys01nam02on0045.outbound.protection.outlook.com 104.47.37.45 mail-cys01nam02on0045.outbound.protection.outlook.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH 1/2] multipathd: Avoid "socket operation on non-socket" errors X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP Changing write_all() into write() is safe for files since the POSIX standard guarantees that write() writes the entire buffer except if the disk is full, a resource limit is encountered or if interrupted by a signal. See also http://pubs.opengroup.org/onlinepubs/9699919799/functions/write.html. Fixes: commit 810082e7a8cf ("libmultipath, multipathd: Rework SIGPIPE handling") Signed-off-by: Bart Van Assche --- libmultipath/alias.c | 2 +- libmultipath/file.c | 2 +- libmultipath/wwids.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libmultipath/alias.c b/libmultipath/alias.c index b86843a..12afef8 100644 --- a/libmultipath/alias.c +++ b/libmultipath/alias.c @@ -219,7 +219,7 @@ allocate_binding(int fd, char *wwid, int id, char *prefix) strerror(errno)); return NULL; } - if (write_all(fd, buf, strlen(buf)) != strlen(buf)){ + if (write(fd, buf, strlen(buf)) != strlen(buf)){ condlog(0, "Cannot write binding to bindings file : %s", strerror(errno)); /* clear partial write */ diff --git a/libmultipath/file.c b/libmultipath/file.c index 74cde64..e4951c9 100644 --- a/libmultipath/file.c +++ b/libmultipath/file.c @@ -158,7 +158,7 @@ open_file(char *file, int *can_write, char *header) goto fail; /* If file is empty, write the header */ size_t len = strlen(header); - if (write_all(fd, header, len) != len) { + if (write(fd, header, len) != len) { condlog(0, "Cannot write header to file %s : %s", file, strerror(errno)); diff --git a/libmultipath/wwids.c b/libmultipath/wwids.c index babf149..bc70a27 100644 --- a/libmultipath/wwids.c +++ b/libmultipath/wwids.c @@ -71,7 +71,7 @@ write_out_wwid(int fd, char *wwid) { strerror(errno)); return -1; } - if (write_all(fd, buf, strlen(buf)) != strlen(buf)) { + if (write(fd, buf, strlen(buf)) != strlen(buf)) { condlog(0, "cannot write wwid to wwids file : %s", strerror(errno)); if (ftruncate(fd, offset)) @@ -110,7 +110,7 @@ replace_wwids(vector mp) goto out_file; } len = strlen(WWIDS_FILE_HEADER); - if (write_all(fd, WWIDS_FILE_HEADER, len) != len) { + if (write(fd, WWIDS_FILE_HEADER, len) != len) { condlog(0, "Can't write wwid file header : %s", strerror(errno)); /* cleanup partially written header */