# RE: \[RFC\]\[PATCH\] device mapper: Add builtin function dm\_get\_status()

- From: Roberto Sassu \<roberto.sassu@huawei.com\>
- Date: 2021-12-02 07:59:44 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/12/1593966
- Thread: https://ratatoskr.run/linux-doc/2021/10/1540888/t.md

```text
> From: Christoph Hellwig [mailto:hch@infradead.org]
> Sent: Thursday, December 2, 2021 8:21 AM
> On Wed, Dec 01, 2021 at 05:37:08PM +0100, Roberto Sassu wrote:
> > Users of the device mapper driver might want to obtain a device status,
> > with status types defined in the status_type_t enumerator.
> 
> The patch looks really odd.  And without the corresponding user of your
> new functionality it is entirely unreviewable anyway.

Hi Christoph

ok, I will send it together with a patch for a not yet accepted
software, Integrity Policy Enforcement (IPE), that will be
the primary user of the introduced functionality.

Regarding the patch itself, could you please provide a more
detailed explanation?

Thanks

Roberto

HUAWEI TECHNOLOGIES Duesseldorf GmbH, HRB 56063
Managing Director: Li Peng, Zhong Ronghua
```
