On Fri, May 19 2023 at 12:09P -0400,
Christoph Hellwig wrote:
> FYI, I really don't think this primitive is a good idea. In the
> concept of non-overwritable storage (NAND, SMR drives) the entire
> concept of a one-shoot 'provisioning' that will guarantee later writes
> are always possible is si
On Thu, May 18, 2023 at 03:33:22PM -0700, Sarthak Kukreti wrote:
> Only call truncate_bdev_range() if the fallocate mode is
> supported. This fixes a bug where data in the pagecache
> could be invalidated if the fallocate() was called on the
> block device with an invalid mode.
>
> Fixes: 25f4c414
On Thu, May 18 2023 at 6:33P -0400,
Sarthak Kukreti wrote:
> dm-thinpool uses the provision request to provision
> blocks for a dm-thin device. dm-thinpool currently does not
> pass through REQ_OP_PROVISION to underlying devices.
>
> For shared blocks, provision requests will break sharing and
This patchset is adds a new path grouping policy that can be used with
ALUA devices. The goal is to avoid the temporary incorrect path
groupings that can happen when paths change priorities.
There is one thing that I'm not sure of. Is there any possiblity of a
path device changing the target port
When we group paths by prio and the priority changes, paths can end up
temporarily in the wrong path groups. This usually happens when some
paths are down, so their priority can't be updated. To avoid this for
ALUA paths, group them by their target port group instead. The path
groups chosen by thi
copying the value into a passed in buffer doesn't help any of the
callers of this function. It's just wasted work.
Signed-off-by: Benjamin Marzinski
---
libmultipath/dict.c | 6 +-
libmultipath/pgpolicies.c | 27 ---
libmultipath/pgpolicies.h | 2 +-
libmultip
Make it possible to easily check a path's target port group.
Signed-off-by: Benjamin Marzinski
---
libmultipath/print.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libmultipath/print.c b/libmultipath/print.c
index 3193dbe0..360308d2 100644
--- a/libmultipath/print.c
+++ b/libmul
Signed-off-by: Benjamin Marzinski
---
tests/pgpolicy.c | 201 +++
1 file changed, 201 insertions(+)
diff --git a/tests/pgpolicy.c b/tests/pgpolicy.c
index 43be831f..85fa30ce 100644
--- a/tests/pgpolicy.c
+++ b/tests/pgpolicy.c
@@ -32,6 +32,15 @@ struct
This allows configuations to use "group_by_tpg" if alua is autodetected
and another policy if it isn't, so they can work with detect_prio.
Signed-off-by: Benjamin Marzinski
---
libmultipath/config.c | 2 ++
libmultipath/config.h | 2 ++
libmultipath/configure.c
On Fri, May 19, 2023 at 10:41:31AM -0400, Mike Snitzer wrote:
> On Fri, May 19 2023 at 12:09P -0400,
> Christoph Hellwig wrote:
>
> > FYI, I really don't think this primitive is a good idea. In the
> > concept of non-overwritable storage (NAND, SMR drives) the entire
> > concept of a one-shoot '
10 matches
Mail list logo