Re: [PATCH RFC 0/13] fs: generic filesystem shutdown handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> things like ->remount_fs or ->put_super. So avoiding IO from operations
> like these would rely on fs implementation anyway.

I think that needs to remain filesystem specific and I don't think this
needs to hold up the patchset.

> Right, -EROFS isn't really good return value when we refuse also reads. I
> think -EIO is fine. -ESHUTDOWN would be ok but the standard message ("Cannot
> send after transport endpoint shutdown") whould be IMO confusing to users.
> I was also thinking about -EFSCORRUPTED (alias -EUCLEAN) which already has
> some precedens in the filesystem space but -EIO is probably better.

EIO isn't great but I agree that it's the best we probably have for now.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux