lkml.org 
[lkml]   [2008]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] ext3 freeze feature ver 0.2
Takashi Sato wrote:

> o Elevate XFS ioctl numbers (XFS_IOC_FREEZE and XFS_IOC_THAW) to the VFS
> As Andreas Dilger and Christoph Hellwig advised me, I have elevated
> them to include/linux/fs.h as below.
> #define FIFREEZE _IOWR('X', 119, int)
>   #define FITHAW _IOWR('X', 120, int)
> The ioctl numbers used by XFS applications don't need to be changed.
> But my following ioctl for the freeze needs the parameter
> as the timeout period. So if XFS applications don't want the timeout
> feature as the current implementation, the parameter needs to be
> changed 1 (level?) into 0.

So, existing xfs applications calling the xfs ioctl now will behave
differently, right? We can only keep the same ioctl number if the
calling semantics are the same. Keeping the same number but changing
the semantics is harmful, IMHO....

-Eric


\
 
 \ /
  Last update: 2008-02-26 17:41    [W:0.098 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site