From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.230.80] (unknown [182.2.38.99]) by gnuweeb.org (Postfix) with ESMTPSA id 0053E80866; Thu, 1 Sep 2022 13:03:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1662037388; bh=ljjl+I7lVpq7DqzrbpwFmOM1P+0Ay5CKREHy8T5I82U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=RqWYhcf2cBLv6HYIhKaN60ci72Q4V/AcSjub3Q9AMCYearep/aSuKjAcfxUF64eCf F2ufRhAPsVbw4qJkUJ9kiogNGH7GEUC4J8eHNr1EK2ebO8DUdx6ZemJIN+Bq/o2F7f ohiRy0UJ8ZkSHqegQRQOf9mZtz8uMkNfXsmsrfE/ONZRrl0hdQrGnyv81GZeoJD42r JoCUv6RFd35NNHT/dWyq3aKH0aRqSPdAKpFKFhfmURCLLvp/9Navxzs2T3BfJlGL4W fsiidq1lHL13qAHP6TRB81RIB49f+KCCCG9h5ponOVbfSFCLrVc9fCxlEsLFMeqRib 9Kb21bPFc3mNw== Message-ID: <3c36d7eb-31c9-0b46-8f39-687c40588377@gnuweeb.org> Date: Thu, 1 Sep 2022 20:03:03 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH liburing v2 12/12] shutdown test: bind to ephemeral port Content-Language: en-US To: Jens Axboe , Dylan Yudaken Cc: Facebook Kernel Team , io-uring Mailing List , Pavel Begunkov , Kanna Scarlet References: <20220901093303.1974274-1-dylany@fb.com> <20220901093303.1974274-13-dylany@fb.com> <918facd1-78ba-2de7-693a-5f8c65ea2fcd@gnuweeb.org> From: Ammar Faizi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 9/1/22 7:54 PM, Dylan Yudaken wrote: > I think something like that sounds sensible. > > There is also some duplication with t_create_socket_pair, as I suspect > most tests could just be rewritten to use that instead - depending on > how much effort you are looking to put into this. > > For now I think dropping the patch and doing it properly in some form > makes a lot of sense. OK, I will do the t_bind_ephemeral() part first for now. -- Ammar Faizi