From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (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 67D4220265D for ; Wed, 6 Nov 2024 14:45:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730904360; cv=none; b=pal6BlZWCng8QGR/90+bpvrvNgwyaKeT9MZH9bS3Kx0SYgPQCGK+YJRN8LDdv/79eaYDmRiy7I7U9/PWs5I/RxmfilZO3nSOagDnExw+beFptxcHSEry9CVvQSh7Tulg4EIdscaXDpqlv/7bcoQiFJGBJ7ZHmX6SBLtIpjIgN6g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730904360; c=relaxed/simple; bh=CWpUIwP2kuFGyNyb7cYQYmrPZHlRx0qC7s2e5brZoHI=; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To; b=H0KAiyCsJa/PQhTmxj7b4xmtpbId8xG3x4Tvcwew+d0cSBHHpTyZMrpjotaDrqnashGqGNNjylRU0I1xrGIZUV6/c/q52DMP+RNom/Zm5v5eLNY329SxhJ3KQZbt9O7iNPW2O8+mjuaXG6I7v0cYXE94RdIAsoI3zJdteh7D374= 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=1525ynbN; arc=none smtp.client-ip=209.85.166.49 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="1525ynbN" Received: by mail-io1-f49.google.com with SMTP id ca18e2360f4ac-83ab6cbd8b1so265814939f.1 for ; Wed, 06 Nov 2024 06:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1730904356; x=1731509156; 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=ph4eZFXpLw2flHujzncwRefSw1IlnpKCdDEG9p+UeHc=; b=1525ynbNDNfx9WchZiQL5aQfW+INc5Wvkw4FJeMrHmI0PwvefXY4clQJC/5RrHDAur EbVVoz2FZJc6g/+kIgj1er8/dLRROofYvbyJTMgWN2DwwMaMfJ5SUzqcnVWKJdHDGyhG cg6+c5Zjjv39cuHV/ace67/NtBj/Jc0gxeIBBxcDRwIcTrPitOqLq0cdxEy4v/xfZtf7 ZsVeX5SZ3lLNgMy9U6PG3YbFhom3TsfKRoIMAWy+Df/U0ZZb20157wTLNlXDqL8mH4Un um4JMXU0UJ9JYHCpuXDWHtcz+i+Ic1UyTLcFpzgtnvLXAkBn9WcZoMe+OeFePSAPs0rX rfSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730904356; x=1731509156; 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=ph4eZFXpLw2flHujzncwRefSw1IlnpKCdDEG9p+UeHc=; b=UGETXUbyUBTqQsApbHISJ6Kcl3wGJR/MReTKvi2RtHghF73KXBNGUFS4H+GTiyM1gz DTsLDMLckioDSuimMGjW94o0poXM7vemb8b/Kx76VZ3TAXTpuQMgeViPuGrrfBMKvrr2 4BjugF6OxTn7IlGykhbnUnc/kkCxo44WvpEtd2VzEKmxkmgRJwxovmcViGy5WRJJQiIT CFIrlVsR6T8DNh6NxEAPGUd4WioKgC+ZiVTai/4SymzlZzgdm+MolN4gUqi5GPUnKGf4 kcVQ6IKLKjsHBC0V/2MZFWfLU2cFI4ooqZyB55S/KQZVTpUSW02xe5lCrzRqXE3gWkd7 MKYQ== X-Forwarded-Encrypted: i=1; AJvYcCVu6eYa0Ht+kDuY+lq/cga5+kwazLRkJtuQ2hKORV9SAVesoKBCosqJ29qEIDKzjrjc2Y3R5nIP3Q==@vger.kernel.org X-Gm-Message-State: AOJu0Yykwiul/6c/CzvXl5zL9qa6LnXlLrEBRc1ulxVrZo5hdN575WT/ wN+DzfvBRVpAoL/yGY1x1sniILFdLUqp67BmX2uKtKBa6sg0HIldgiQV67oCQfg= X-Google-Smtp-Source: AGHT+IGdQTyYN/+BytsB9zlVlCScHzJpCmj3MxjizQg5DL7CYSOWHLVBUYPy218g0OTfG63rDE5EAw== X-Received: by 2002:a05:6602:1509:b0:83a:b645:c902 with SMTP id ca18e2360f4ac-83b7194b784mr2358409739f.6.1730904356232; Wed, 06 Nov 2024 06:45:56 -0800 (PST) Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4de04977ea5sm2932681173.93.2024.11.06.06.45.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2024 06:45:55 -0800 (PST) Content-Type: multipart/mixed; boundary="------------SUg3wLYS0Gq0FtruVymRO9AI" Message-ID: <7b5ea3e5-3d88-4571-a06b-7c952cb11613@kernel.dk> Date: Wed, 6 Nov 2024 07:45:54 -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.15-stable tree To: Sasha Levin , stable@vger.kernel.org Cc: Peter Mann , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: <20241106021214.182779-1-sashal@kernel.org> Content-Language: en-US From: Jens Axboe In-Reply-To: <20241106021214.182779-1-sashal@kernel.org> This is a multi-part message in MIME format. --------------SUg3wLYS0Gq0FtruVymRO9AI Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/5/24 7:12 PM, Sasha Levin wrote: > The patch below does not apply to the v5.15-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 a tested series for 5.15-stable. I'll send the 5.10-stable series after this. -- Jens Axboe --------------SUg3wLYS0Gq0FtruVymRO9AI 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 RnJvbSA4OGU4M2RjZjA2ZWM0NzJmN2JiYjIyOGRjMWVkYTBjNjFhYmVkZGYzIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbWlyIEdvbGRzdGVpbiA8YW1pcjczaWxAZ21haWwu Y29tPgpEYXRlOiBUaHUsIDE3IEF1ZyAyMDIzIDE3OjEzOjMxICswMzAwClN1YmplY3Q6IFtQ QVRDSCAxLzRdIGlvX3VyaW5nOiByZW5hbWUga2lvY2JfZW5kX3dyaXRlKCkgbG9jYWwgaGVs cGVyCgpDb21taXQgYTM3MDE2N2ZlNTI2MTIzNjM3OTY1ZjYwODU5YTlmMWYzZTFhNThiNyB1 cHN0cmVhbS4KClRoaXMgaGVscGVyIGRvZXMgbm90IHRha2UgYSBraW9jYiBhcyBpbnB1dCBh bmQgd2Ugd2FudCB0byBjcmVhdGUgYQpjb21tb24gaGVscGVyIGJ5IHRoYXQgbmFtZSB0aGF0 IHRha2VzIGEga2lvY2IgYXMgaW5wdXQuCgpTaWduZWQtb2ZmLWJ5Oi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X2ZsYWdzICYgSU9DQl9XUklURSkKLQkJCQlraW9jYl9lbmRfd3JpdGUocmVxKTsKKwkJ CQlpb19yZXFfZW5kX3dyaXRlKHJlcSk7CiAJCQlyZXR1cm4gLUVBR0FJTjsKIAkJfQogCQly ZXR1cm4gcmV0OwotLSAKMi40NS4yCgo= --------------SUg3wLYS0Gq0FtruVymRO9AI 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 RnJvbSAzNjM4NzAyYjI3ODI4OGIyOWNlMjRiNTJhOTQ4MTZiOTAwODhiMzViIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbWlyIEdvbGRzdGVpbiA8YW1pcjczaWxAZ21haWwu Y29tPgpEYXRlOiBUaHUsIDE3IEF1ZyAyMDIzIDE3OjEzOjMzICswMzAwClN1YmplY3Q6IFtQ QVRDSCAyLzRdIGZzOiBjcmVhdGUga2lvY2Jfe3N0YXJ0LGVuZH1fd3JpdGUoKSBoZWxwZXJz CgpDb21taXQgZWQwMzYwYmJhYjcyYjgyOTQzN2I2N2ViYjJmOWNmYWMxOWY1OWRmZSB1cHN0 cmVhbS4KCmFpbywgaW9fdXJpbmcsIGNhY2hlZmlsZXMgYW5kIG92ZXJsYXlmcywgYWxsIG9w ZW4gY29kZSBhbiB1Z2x5IHZhcmlhbnQKb2YgZmlsZV97c3RhcnQsZW5kfV93cml0ZSgpIHRv IHNpbGVuY2UgbG9ja2RlcCB3YXJuaW5ncy4KCkNyZWF0ZSBoZWxwZXJzIGZvciB0aGlzIGxv Y2tkZXAgZGFuY2Ugc28gd2UgY2FuIHVzZSB0aGUgaGVscGVycyBpbiBhbGwKdGhlIGNhbGxl cnMuCgpTdWdnZXN0ZWQtYnk6IEphbiBLYXJhIDxqYWNrQHN1c2UuY3o+ClNpZ25lZC1vZmYt Ynk6IEFta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aW9u IHRocmVhZC4KKwkgKi8KKwlfX3NiX3dyaXRlcnNfYWNxdWlyZWQoaW5vZGUtPmlfc2IsIFNC X0ZSRUVaRV9XUklURSk7CisJc2JfZW5kX3dyaXRlKGlub2RlLT5pX3NiKTsKK30KKwogLyoK ICAqIFRoaXMgaXMgdXNlZCBmb3IgcmVndWxhciBmaWxlcyB3aGVyZSBzb21lIHVzZXJzIC0t IGVzcGVjaWFsbHkgdGhlCiAgKiBjdXJyZW50bHkgZXhlY3V0ZWQgYmluYXJ5IGluIGEgcHJv Y2VzcywgcHJldmlvdXNseSBoYW5kbGVkIHZpYQotLSAKMi40NS4yCgo= --------------SUg3wLYS0Gq0FtruVymRO9AI 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 RnJvbSA0MGE4NWEzMzQ1ZTQ5MTgxNjhjZjI2ZWEzNmRkMzg3MDU2Yzg2Y2RlIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbWlyIEdvbGRzdGVpbiA8YW1pcjczaWxAZ21haWwu Y29tPgpEYXRlOiBUaHUsIDE3IEF1ZyAyMDIzIDE3OjEzOjM0ICswMzAwClN1YmplY3Q6IFtQ QVRDSCAzLzRdIGlvX3VyaW5nOiB1c2Uga2lvY2Jfe3N0YXJ0LGVuZH1fd3JpdGUoKSBoZWxw ZXJzCgpDb21taXQgZTQ4NGZkNzNmNGJkY2IwMGMyMTg4MTAwYzJkODRlOWYzZjVjOWY3ZCB1 cHN0cmVhbS4KClVzZSBoZWxwZXJzIGluc3RlYWQgb2YgdGhlIG9wZW4gY29kZWQgZGFuY2Ug dG8gc2lsZW5jZSBsb2NrZGVwIHdhcm5pbmdzLgoKU3VnZ2VzdGVkLWJ5OiBKYW4gS2FyYSA8 amFja0BzdXNlLmN6PgpTaWduZWQtb2ZmLWJ5Oi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lfZmxhZ3MgfD0gSU9DQl9XUklURTsKIAogCWlmIChyZXEtPmZpbGUtPmZfb3AtPndy aXRlX2l0ZXIpCi0tIAoyLjQ1LjIKCg== --------------SUg3wLYS0Gq0FtruVymRO9AI 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 RnJvbSAwODViMDhlZGMxMWM4NTYyYjljOTY4OGQ0OGQ0NGQyZWFhMWYwYWY4IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKZW5zIEF4Ym9lIDxheGJvZUBrZXJuZWwuZGs+CkRh dGU6IFRodSwgMzEgT2N0IDIwMjQgMDg6MDU6NDQgLTA2MDAKU3ViamVjdDogW1BBVENIIDQv NF0gaW9fdXJpbmcvcnc6IGZpeCBtaXNzaW5nIE5PV0FJVCBjaGVjayBmb3IgT19ESVJFQ1Qg c3RhcnQKIHdyaXRlCgpDb21taXQgMWQ2MGQ3NGU4NTI2NDcyNTViZDhlNzZmNWEyMmRjNDI1 MzFlNDM4OSB1cHN0cmVhbS4KCldoZW4gaW9fdXJpbmcgc3RhcnRzIGEgd3JpdGUsIGl0J2xs IGNhbGwga2lvY2Jfc3RhcnRfd3JpdGUoKSB0byBidW1wIHRoZQpzdXBlciBibG9jayByd3Nl bSwgcHJldmVudGluZyBhbnkgZnJlZXplcyBmcm9tIGhhcHBlbmluZyB3aGlsZSB0aGF0Cndy aXRlIGlzIGluLWZsaWdodC4gVGhlIGZyZWV6ZSBzaWRlIHdpbGwgZ3JhYiB0aGF0IHJ3c2Vt IGZvciB3cml0aW5nLApleGNsdWRpbmcgYW55IG5ldyB3cml0ZXJzIGZyb20gaGFwcGVuaW5n IGFuZCB3YWl0aW5nIGZvciBleGlzdGluZyB3cml0ZXMKdG8gZmluaXNoLiB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