From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BE1F185B54 for ; Wed, 6 Nov 2024 14:53:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730904806; cv=none; b=P4P9mwS3PLJ3PjCkXY9yaFHpSCkEd5MtB8ivWzWs4C/A1li1vSMqOMvZR84QiyVcnrHjXcJapi/ykb75aBB0mTpvih41QriTRY319ib4eMX5VNTjmXAMGnRgRoO4KPAD1ahn772s7S0TbG7NT04aBJuJmnS4XM+1Br5WmcjAEHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730904806; c=relaxed/simple; bh=G2jaxQfT2fbSgjgXCYa8KtPcT3+mK6CsSC8rpSsb2H4=; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To; b=FFk/wOkCJzYau6B05s7KNN2tdEcDM6fJHs6zWj6z11wUC+17BF4tR1RnFVftc8Y0bgvEhNDOvE+84xjqpfJp+BFHF86uTpwtuf1VYzRQ1EMkO+S396vmyh+K82dDFkBK4mNS+aL6+1Vql9qHNlLhqgeRXDDMt6smQ8YmCtYu/m4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=sg3xG73y; arc=none smtp.client-ip=209.85.166.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="sg3xG73y" Received: by mail-il1-f182.google.com with SMTP id e9e14a558f8ab-3a6af694220so21525635ab.1 for ; Wed, 06 Nov 2024 06:53:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1730904803; x=1731509603; darn=vger.kernel.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=8Q2eJQUTsEVo6EaqIKMHjMLLMN2rbA0ncoxd0EmhWE8=; b=sg3xG73yjaBhEEoFl53sLQHcO7VFIYLVEVnnXn8RhrJuckRT1dnIeEMEC25gH8skS0 bao9v/NTKsui+4nZnhpMwxQkp1akwt3YSOfuay7tv0EODuJCJX5uBRzjwMhhdZ9wkTLR ceSWKMoBb+UNipOwEVBgZXzt6FPIelQq2bziD2edox06Tmoi+5xM7Rw7rJpCYMRQMxMM rhEVHvGtExcHvVceLwQTunMCl3UMErYGacwTAzBnfqkzisfDXtowtzzjaLYPeu253uXR 4nOzbiVJZcr4DhDRtOvR2RcgPNVoPf1yNm0iw5onRQLEzMI5+qZSpQvbrUrL4xLHcnW9 vI5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730904803; x=1731509603; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=8Q2eJQUTsEVo6EaqIKMHjMLLMN2rbA0ncoxd0EmhWE8=; b=mnnWzTukC9fWHnu9bWXy3bPT1ctiVTMNsuIs6o1+2+upwVb83lCzKeeLRlh3hG7ebS nVG99QFMSZh1IRoS0/5+H2oujISh/2SuD8TlzaN1dAY1A1Y4bMyhyIDWL5r5s5gwJy3u JKSwu3M+glqWeaSSyWTa0G+/X9/k9wpWqsGJxNH7Wxa4FFQtqvpujt3EHlMG+gW2ne5h rQ8nT32LZWp7qfrZE+cL73ZX8XNCSuMyN3FVxDCtbJ13FOATFE1Bm3B5A0vear6POlrB WozOyALDGmL3QOSxiVp4mseSb9SLawztaPSwhPtVg4C+rB/ugnzkTCGXmlIiqTiAZYpu qUSA== X-Forwarded-Encrypted: i=1; AJvYcCXrRdgoZJPhyktTXWz6pXOhjZf0RmhsQDhWnSTORY5BK3FH5aG8YkVIIy3g8nxBO6EdPnm3yLmRug==@vger.kernel.org X-Gm-Message-State: AOJu0YyBzeQujMxBEFb6Z5pNZ9qOFiz0/4jGA+rOLGJGtNOr4GwcL9+J oVTf8DPVZqtBoh5O2vj+hU4LZIbDX227htLmJ/2IUQQLB1xHEHGxi2EQ6IZ3vR+LlTCo4OV5VSn y8/s= X-Google-Smtp-Source: AGHT+IFOzupSaEbzP2L1VEj+gsGfB+Uu26zJjOquBIZaofIEdss9CxhGOWZ9nq5Sg1hSUz5iru/3eg== X-Received: by 2002:a92:c24a:0:b0:3a6:ac17:13e5 with SMTP id e9e14a558f8ab-3a6b0316b8cmr212863505ab.11.1730904803164; Wed, 06 Nov 2024 06:53:23 -0800 (PST) Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4de048e5362sm2955116173.80.2024.11.06.06.53.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2024 06:53:22 -0800 (PST) Content-Type: multipart/mixed; boundary="------------SnDMCXBzrXGWHoqDx5Ak092X" Message-ID: Date: Wed, 6 Nov 2024 07:53:21 -0700 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: FAILED: Patch "io_uring/rw: fix missing NOWAIT check for O_DIRECT start write" failed to apply to v5.10-stable tree To: Sasha Levin , stable@vger.kernel.org Cc: Peter Mann , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: <20241106021306.183371-1-sashal@kernel.org> Content-Language: en-US From: Jens Axboe In-Reply-To: <20241106021306.183371-1-sashal@kernel.org> This is a multi-part message in MIME format. --------------SnDMCXBzrXGWHoqDx5Ak092X Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/5/24 7:13 PM, Sasha Levin wrote: > The patch below does not apply to the v5.10-stable tree. > If someone wants it applied there, or to any other stable or longterm > tree, then please email the backport, including the original git commit > id to . Here's the 5.10-stable series. -- Jens Axboe --------------SnDMCXBzrXGWHoqDx5Ak092X Content-Type: text/x-patch; charset=UTF-8; name="0004-io_uring-rw-fix-missing-NOWAIT-check-for-O_DIRECT-st.patch" Content-Disposition: attachment; filename*0="0004-io_uring-rw-fix-missing-NOWAIT-check-for-O_DIRECT-st.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSA1MWY3M2ZlMGFjMzI5NTVlMTRiODJkZGMwOWFmOTdhNGY0YTUwMGUwIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKZW5zIEF4Ym9lIDxheGJvZUBrZXJuZWwuZGs+CkRh dGU6IFRodSwgMzEgT2N0IDIwMjQgMDg6MDU6NDQgLTA2MDAKU3ViamVjdDogW1BBVENIIDQv NF0gaW9fdXJpbmcvcnc6IGZpeCBtaXNzaW5nIE5PV0FJVCBjaGVjayBmb3IgT19ESVJFQ1Qg c3RhcnQKIHdyaXRlCgpDb21taXQgMWQ2MGQ3NGU4NTI2NDcyNTViZDhlNzZmNWEyMmRjNDI1 MzFlNDM4OSB1cHN0cmVhbS4KCldoZW4gaW9fdXJpbmcgc3RhcnRzIGEgd3JpdGUsIGl0J2xs IGNhbGwga2lvY2Jfc3RhcnRfd3JpdGUoKSB0byBidW1wIHRoZQpzdXBlciBibG9jayByd3Nl bSwgcHJldmVudGluZyBhbnkgZnJlZXplcyBmcm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JCV9fc2Jfd3JpdGVyc19yZWxlYXNlKGlub2RlLT5p X3NiLCBTQl9GUkVFWkVfV1JJVEUpOworCXJldHVybiByZXQ7Cit9CisKIHN0YXRpYyBpbnQg aW9fd3JpdGUoc3RydWN0IGlvX2tpb2NiICpyZXEsIHVuc2lnbmVkIGludCBpc3N1ZV9mbGFn cykKIHsKIAlzdHJ1Y3QgaW92ZWMgaW5saW5lX3ZlY3NbVUlPX0ZBU1RJT1ZdLCAqaW92ZWMg PSBpbmxpbmVfdmVjczsKQEAgLTM3NjUsOCArMzc4NCw4IEBAIHN0YXRpYyBpbnQgaW9fd3Jp dGUoc3RydWN0IGlvX2tpb2NiICpyZXEsIHVuc2lnbmVkIGludCBpc3N1ZV9mbGFncykKIAlp ZiAodW5saWtlbHkocmV0KSkKIAkJZ290byBvdXRfZnJlZTsKIAotCWlmIChyZXEtPmZsYWdz ICYgUkVRX0ZfSVNSRUcpCi0JCWtpb2NiX3N0YXJ0X3dyaXRlKGtpb2NiKTsKKwlpZiAodW5s aWtlbHkoIWlvX2tpb2NiX3N0YXJ0X3dyaXRlKHJlcSwga2lvY2IpKSkKKwkJZ290byBjb3B5 X2lvdjsKIAlraW9jYi0+a2lfZmxhZ3MgfD0gSU9DQl9XUklURTsKIAogCWlmIChyZXEtPmZp bGUtPmZfb3AtPndyaXRlX2l0ZXIpCi0tIAoyLjQ1LjIKCg== --------------SnDMCXBzrXGWHoqDx5Ak092X Content-Type: text/x-patch; charset=UTF-8; name="0003-io_uring-use-kiocb_-start-end-_write-helpers.patch" Content-Disposition: attachment; filename="0003-io_uring-use-kiocb_-start-end-_write-helpers.patch" Content-Transfer-Encoding: base64 RnJvbSA3Y2E2YjNiYTg5YjU0MTlhZDYxYWU2NjRmZDMxOWM5NmU4MWNkNThlIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbWlyIEdvbGRzdGVpbiA8YW1pcjczaWxAZ21haWwu Y29tPgpEYXRlOiBUaHUsIDE3IE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3V0IHRoZSBoZWxkIGxvY2sg d2hlbgotCSAqIHdlIHJldHVybiB0byB1c2Vyc3BhY2UuCi0JICovCi0JaWYgKHJlcS0+Zmxh Z3MgJiBSRVFfRl9JU1JFRykgewotCQlzYl9zdGFydF93cml0ZShmaWxlX2lub2RlKHJlcS0+ ZmlsZSktPmlfc2IpOwotCQlfX3NiX3dyaXRlcnNfcmVsZWFzZShmaWxlX2lub2RlKHJlcS0+ ZmlsZSktPmlfc2IsCi0JCQkJCVNCX0ZSRUVaRV9XUklURSk7Ci0JfQorCWlmIChyZXEtPmZs YWdzICYgUkVRX0ZfSVNSRUcpCisJCWtpb2NiX3N0YXJ0X3dyaXRlKGtpb2NiKTsKIAlraW9j Yi0+a2lfZmxhZ3MgfD0gSU9DQl9XUklURTsKIAogCWlmIChyZXEtPmZpbGUtPmZfb3AtPndy aXRlX2l0ZXIpCi0tIAoyLjQ1LjIKCg== --------------SnDMCXBzrXGWHoqDx5Ak092X Content-Type: text/x-patch; charset=UTF-8; name="0002-fs-create-kiocb_-start-end-_write-helpers.patch" Content-Disposition: attachment; filename="0002-fs-create-kiocb_-start-end-_write-helpers.patch" Content-Transfer-Encoding: base64 RnJvbSAyOGY4NTViMmUzNGZmMzg1MTY0OTM2MTJjNzRiYzAyZGVmNGNmZGRhIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbWlyIEdvbGRzdGVpbiA8YW1pcjczaWxAZ21haWwu Y29tPgpEYXRlOiBUaHUsIDE3IEF1ZyAyMDIzIDE3OjEzOjMzICswMzAwClN1YmplY3Q6IFtQ QVRDSCAyLzRdIGZzOiBjcmVhdGUga2lvY2Jfe3N0YXJ0LGVuZH1fd3JpdGUoKSBoZWxwZXJz CgpDb21taXQgZWQwMzYwYmJhYjcyYjgyOTQzN2I2N2ViYjJmOWNmYWMxOWY1OWRmZSB1cHN0 cmVhbS4KCmFpbywgaW9fdXJpbmcsIGNhY2hlZmlsZXMgYW5kIG92ZXJsYXlmc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kIHRoZSB3cml0ZSB3aXRoCisgKgorICogU2hvdWxkIGJlIG1hdGNo ZWQgd2l0aCBhIGNhbGwgdG8ga2lvY2Jfc3RhcnRfd3JpdGUoKS4KKyAqLworc3RhdGljIGlu bGluZSB2b2lkIGtpb2NiX2VuZF93cml0ZShzdHJ1Y3Qga2lvY2IgKmlvY2IpCit7CisJc3Ry dWN0IGlub2RlICppbm9kZSA9IGZpbGVfaW5vZGUoaW9jYi0+a2lfZmlscCk7CisKKwkvKgor CSAqIFRlbGwgbG9ja2RlcCB3ZSBpbmhlcml0ZWQgZnJlZXplIHByb3RlY3Rpb24gZnJvbSBz dWJtaXNzaW9uIHRocmVhZC4KKwkgKi8KKwlfX3NiX3dyaXRlcnNfYWNxdWlyZWQoaW5vZGUt Pmlfc2IsIFNCX0ZSRUVaRV9XUklURSk7CisJc2JfZW5kX3dyaXRlKGlub2RlLT5pX3NiKTsK K30KIAogZXh0ZXJuIGJvb2wgaW5vZGVfb3duZXJfb3JfY2FwYWJsZShjb25zdCBzdHJ1Y3Qg aW5vZGUgKmlub2RlKTsKIAotLSAKMi40NS4yCgo= --------------SnDMCXBzrXGWHoqDx5Ak092X Content-Type: text/x-patch; charset=UTF-8; name="0001-io_uring-rename-kiocb_end_write-local-helper.patch" Content-Disposition: attachment; filename="0001-io_uring-rename-kiocb_end_write-local-helper.patch" Content-Transfer-Encoding: base64 RnJvbSAxMzcyODcwNGEwYWE1OTA1MTUzNjMyN2U1ODQ2OTI2OTIwMWRkNzliIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbWlyIEdvbGRzdGVpbiA8YW1pcjczaWxAZ21haWwu Y29tPgpEYXRlOiBUaHUsIDE3IEF1ZyAyMDIzIDE3OjEzOjMxICswMzAwClN1YmplY3Q6IFtQ QVRDSCAxLzRdIGlvX3VyaW5nOiByZW5hbWUga2lvY2JfZW5kX3dyaXRlKCkgbG9jYWwgaGVs cGVyCgpDb21taXQgYTM3MDE2N2ZlNT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