From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 E1342238C16 for ; Thu, 19 Feb 2026 04:39:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771475941; cv=none; b=BzJFhZ4IYstNXrPn9q9nctPeFbRnRIAu8I6pdAuBzMDnjDJCvnQB3PS4TvGxCF+7a3dE2wcxX6Dm7h4nQ4R8vJgk37OmQEjRT1o875OLT4JNHcCa+iHaVY3kjrvr8/Cu0imS7wD6uQOKw3P/DxbClxRL3R8dggSyLLsLdpXiOf8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771475941; c=relaxed/simple; bh=ZkYpi24XB+c2nYpfMZCYd8Pg5EzS7/yqjjFkgZHE9yQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kx6gtrw4Lj9H79XCP8QAg/U6eRxUJQgKwu+HVNz/nlgT+peTszd13Snl3paVBfKm+B5LkYONFapKMmVxKuhb2Of9Pd/9G/WUb0dC1QYDdsd1sE/YmmWdL36avWAAIpz1Xdbm3milBAEfj+pw+2YB/CsZiGlrOZfSBx73GTNqbas= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=D7M/iGye; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="D7M/iGye" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2ab39b111b9so2092475ad.1 for ; Wed, 18 Feb 2026 20:39:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771475940; x=1772080740; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ynSChzznDaxbwFRr4/nc29K8Vokm4ZvjDd1JUgHodKk=; b=D7M/iGyeQV5EahTu+DMUF5SUFV2LcAkgHUqgebR9ChrgOO/eeObVmSbtYEaqmzLJ+H RMkhHCpZSZMbPNCX4kUILE6ELiR/v6s+eO/SbebpGTwLc15gNbvZsHhTMVvGE82Cr9E3 QChdYoJXLSsZ8ts+wbRLp5NKQnBTsR+kgysft5iO6h+WT5Ueo35qo7QPYrQac9/H8YrI z7pSzEuDpdzg/1GDugWQz3G83p8d53Gb816kq2U+aDOPX8mMYeg7BHsfUGcN+mcK4e1L Zmp392LhDtzSzxUh+3d9Pj4tP7hZ4BCeGt5PFRxlk/afJa7oZgSESyPDjq/f2+qE6zQe WkDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771475940; x=1772080740; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ynSChzznDaxbwFRr4/nc29K8Vokm4ZvjDd1JUgHodKk=; b=HEi+vFdwXqJ2jyqbDxemP8eiyRRiXCFtGX4pWusS035rmWWE9WbfIDDgBYqQjUAqcZ uwgDldzqVLFnwh02KadeuWpsbnRpBjMlYMXWFFTK+ktlsuQIgZecMEvrg3IBFs1F06bd mE6nZug0bV4fjlBPMFn80aeXYXY2HxoxR2GzFBTJ3/sBPV8yfFC5yZcKMdOIg7WvmW51 UTTxjgN2FgTqfxqgNHMC16fyXUCgwFDeuAsIa/Z81oyvX2sCrJ+LZWeIo1APwX9xduKF UcDV0KsH7d/AUQbKmLMibHbuo/DxaUTpLNi9tu+2uxSj6ORZly9GxITi2cq+rn80THnU EHmw== X-Gm-Message-State: AOJu0YxaAJM+n96mq/ZMDoH4l+5nTC/ROxcGZyWyDwoBTAx+cypGjS3A aRprXqIlKEyrK7XkW7uXhSZGszUNy3rQJuvIvb3b/rSoAvkuOZogBhrS X-Gm-Gg: AZuq6aLs5/HZM23DkZ7YobRlK7ZECcVaeZhiPfK1QrAWes9Ieg5o0ZG05aOYgrHy1ul 3qA9Yk8vQkD+qT1xA6ypS6xNztfS1Xj996lfpEDcsPZPXgUnwnmhKkxZciFnCx/zLt9pZBfto8Y 1/k6jB8H77ydnQqF4zALb8SM8FhTO85iVW82d6K4LRw1FYwVuTT1VCjD464g5mi1Y+c0MTYD0G4 IZQbhK9nSyrqc+wpaoVBjWIUp1RWW+vcOLPh8lsZ54d5xrqhdQ/HQIYQnaz0KaWVUWfjfqNFl6N Rgazu9L15TZhnAcRUWDafd6DXFHmDjyHlmLkQTU8j9AjOWnIutEsdci6Yr4f1dqb0AtsHLNytzV djGzleskLx4RuhvqyFSTRmYGp/yxrhQ0MbgCD8134Umtny43A6z4DJbAcNyo+Pfa0Zzu85afjcn 872QpjkcPR9zfJKEvJ3YtJm33cdDzrIbv8Tt3YlE1yMThuRc0= X-Received: by 2002:a17:903:238b:b0:2ab:3e9a:a013 with SMTP id d9443c01a7336-2ad17513f8fmr153279855ad.43.1771475940099; Wed, 18 Feb 2026 20:39:00 -0800 (PST) Received: from 5163NRD-SPRABHU.ssi.samsung.com ([103.50.21.94]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ad1a713675sm203345025ad.27.2026.02.18.20.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Feb 2026 20:38:59 -0800 (PST) From: sw.prabhu6@gmail.com To: James.Bottomley@HansenPartnership.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, mcgrof@kernel.org, pankaj.raghav@linux.dev, bvanassche@acm.org, dlemoal@kernel.org, Swarna Prabhu Subject: [PATCH v4 0/2] enable sector size > PAGE_SIZE for scsi Date: Wed, 18 Feb 2026 20:37:40 -0800 Message-Id: <20260219043741.276729-1-sw.prabhu6@gmail.com> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Swarna Prabhu Hi All, This is v4 series sent based on the review comments received on v3 [1]. This patchset enables sector sizes > PAGE_SIZE for sd driver and scsi_debug driver since block layer can support block size > PAGE_SIZE. There was one issue with write_same16 and write_same10 command, which is fixed as a part of the series. Changes since v2: - Added reviewed by tag for scsi sd driver and scsi_debug patch. - Modified the helper function name used for safe creation and destruction of the large page mempool. - No functional changes. Thanks to Damien for review. Testing: Testing results are same as v3 since no functional changes introduced in v4. Link to v3: https://lore.kernel.org/all/20260214011829.508272-1-sw.prabhu6@gmail.com/ [1] Swarna Prabhu (2): scsi: sd: enable sector size > PAGE_SIZE in scsi sd driver scsi: scsi_debug: enable sdebug_sector_size > PAGE_SIZE drivers/scsi/scsi_debug.c | 8 +--- drivers/scsi/sd.c | 80 +++++++++++++++++++++++++++++++++------ 2 files changed, 69 insertions(+), 19 deletions(-) -- 2.39.5