Commit 2eb8d53
pNFS: Handle RPC size limit for layoutcommits
[ Upstream commit d897d81 ]
When there are too many block extents for a layoutcommit, they may not
all fit into the maximum-sized RPC. This patch allows the generic pnfs
code to properly handle -ENOSPC returned by the block/scsi layout driver
and trigger additional layoutcommits if necessary.
Co-developed-by: Konstantin Evtushenko <koevtushenko@yandex.com>
Signed-off-by: Konstantin Evtushenko <koevtushenko@yandex.com>
Signed-off-by: Sergey Bashirov <sergeybashirov@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250630183537.196479-5-sergeybashirov@gmail.com
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent ad466c0 commit 2eb8d53
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3332 | 3332 | | |
3333 | 3333 | | |
3334 | 3334 | | |
| 3335 | + | |
3335 | 3336 | | |
3336 | 3337 | | |
3337 | 3338 | | |
| |||
3383 | 3384 | | |
3384 | 3385 | | |
3385 | 3386 | | |
3386 | | - | |
| 3387 | + | |
| 3388 | + | |
3387 | 3389 | | |
3388 | 3390 | | |
3389 | 3391 | | |
3390 | 3392 | | |
3391 | | - | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
| 3396 | + | |
3392 | 3397 | | |
3393 | 3398 | | |
3394 | 3399 | | |
3395 | 3400 | | |
3396 | 3401 | | |
3397 | 3402 | | |
3398 | | - | |
| 3403 | + | |
3399 | 3404 | | |
3400 | 3405 | | |
3401 | 3406 | | |
| |||
0 commit comments