[lkml]   [2019]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH 1/5] block/genhd: Notify udev about capacity change
On Mon, 2019-12-23 at 01:40 +0000, Balbir Singh wrote:
> Allow block/genhd to notify user space (via udev) about disk size changes
> using a new helper disk_set_capacity(), which is a wrapper on top
> of set_capacity(). disk_set_capacity() will only notify via udev if
> the current capacity or the target capacity is not zero.
> Background:
> As a part of a patch to allow sending the RESIZE event on disk capacity
> change, Christoph ( requested that the patch be made generic
> and the hacks for virtio block and xen block devices be removed and
> merged via a generic helper.

I messed up with linux-block ML address, I can resend with the right address
if needed. My apologies

Balbir Singh.
 \ /
  Last update: 2019-12-23 02:55    [W:0.117 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site