Re: [RFC 1/4] fs: Add generic file system event notifications

2015-04-17 Thread John Spray
On 17/04/2015 17:22, Jan Kara wrote: On Fri 17-04-15 17:08:10, John Spray wrote: On 17/04/2015 16:43, Jan Kara wrote: In that case I'm confused -- why would ENOSPC be an appropriate use of this interface if the mount being entirely blocked would be inappropriate? Isn't being

Re: [RFC 1/4] fs: Add generic file system event notifications

2015-04-17 Thread John Spray
On 17/04/2015 16:43, Jan Kara wrote: On Fri 17-04-15 15:51:14, John Spray wrote: On 17/04/2015 14:23, Austin S Hemmelgarn wrote: For some filesystems, it may make sense to differentiate between a generic warning and an error. For BTRFS and ZFS for example, if there is a csum error on a

Re: [RFC 1/4] fs: Add generic file system event notifications

2015-04-17 Thread John Spray
On 17/04/2015 14:23, Austin S Hemmelgarn wrote: On 2015-04-17 09:04, Beata Michalska wrote: On 04/17/2015 01:31 PM, Jan Kara wrote: On Wed 15-04-15 09:15:44, Beata Michalska wrote: ... +static const match_table_t fs_etypes = { +{ FS_EVENT_INFO,"info" }, +{ FS_EVENT_WARN,"warn"