NVDIMM Device and Persistent Memory development
 help / color / mirror / Atom feed
* [PATCH 0/2] ndctl/namespace:Fix and improve write-infoblock
@ 2022-04-13  3:52 Tarun Sahu
  2022-04-13  3:52 ` [PATCH 1/2] ndctl/namespace:Fix multiple issues with write-infoblock Tarun Sahu
  2022-04-13  3:52 ` [PATCH 2/2] ndctl/namespace:Implement write-infoblock for sector mode namespaces Tarun Sahu
  0 siblings, 2 replies; 5+ messages in thread
From: Tarun Sahu @ 2022-04-13  3:52 UTC (permalink / raw)
  To: nvdimm; +Cc: tsahu, dan.j.williams, vishal.l.verma, aneesh.kumar, sbhat,
	vaibhav

This series resolves some issues with write-infoblock command
and provide support to write-infoblock for sector mode namespace

write-infoblock command has issues regarding updating the align, 
uuid, parent_uuid. In case of no parameter passed for it, this command
used to overwrite the existing values with defaults. 

In PATCH 1/2 these parameters will be set to their original values, incase, 
values hasn't been passed in command arguments

write-infoblock command doesn't have support for sector/BTT mode
namespaces. They can be converted to fsdax, but can not be written
being in sector mode.

In PATCH 2/2, It creates a functionality which write infoblock of
Sector/BTT namespace. Currently only uuid, parent_uuid can be updated.
In future, Support for other parameters can easily be integrated in the
functionality.

---

Tarun Sahu (2):
  Fix multiple issues with write-infoblock command
  Implement write-infoblock for sector mode namespaces.

 ndctl/namespace.c | 297 +++++++++++++++++++++++++++++++++-------------
 ndctl/namespace.h |   7 ++
 2 files changed, 223 insertions(+), 81 deletions(-)

-- 
2.18.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-25 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-13  3:52 [PATCH 0/2] ndctl/namespace:Fix and improve write-infoblock Tarun Sahu
2022-04-13  3:52 ` [PATCH 1/2] ndctl/namespace:Fix multiple issues with write-infoblock Tarun Sahu
2022-04-25 12:37   ` Shivaprasad G Bhat
2022-04-13  3:52 ` [PATCH 2/2] ndctl/namespace:Implement write-infoblock for sector mode namespaces Tarun Sahu
2022-04-25 12:37   ` Shivaprasad G Bhat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox