Re: [PATCH v2 3/3] libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr

2020-08-06 Thread Ira Weiny
On Mon, Aug 03, 2020 at 04:41:39PM -0600, Jane Chu wrote: > commit 7d988097c546 ("acpi/nfit, libnvdimm/security: Add security DSM > overwrite support") > adds a sysfs_notify_dirent() to wake up userspace poll thread when the > "overwrite" > operation has completed. But the notification is issued

[PATCH v2 3/3] libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr

2020-08-03 Thread Jane Chu
commit 7d988097c546 ("acpi/nfit, libnvdimm/security: Add security DSM overwrite support") adds a sysfs_notify_dirent() to wake up userspace poll thread when the "overwrite" operation has completed. But the notification is issued before the internal dimm security state and flags have been