generating uevents by xfs

Krzysztof Błaszkowski kb at sysmikro.com.pl
Tue Apr 28 11:18:31 CDT 2009


Hello,

once upon i was asked to think about such facility for notifying userspace 
when some mount point is nearly full at some level let's say e.g. 90% 
(threshold should be configurable).

here is a solution designed by me and i would like to see comments on this 
idea and solution.

i verified these patches with 2.6.27.19 (SuSE) but there are also patches for 
2.6.28.4 and 2.6.29.2 but i haven't given a try to latest two kernels.

to use it one may need to pick right *-1- patch and the *-2 patch.


Krzysztof Blaszkowski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfs-sysfs-1-26292.diff
Type: text/x-diff
Size: 2825 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090428/e0225f3a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfs-sysfs-1-26284.diff
Type: text/x-diff
Size: 2802 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090428/e0225f3a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfs-sysfs-1-262719.diff
Type: text/x-diff
Size: 2794 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090428/e0225f3a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfs-sysfs-2.diff
Type: text/x-diff
Size: 9399 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090428/e0225f3a/attachment-0003.bin>


More information about the xfs mailing list