Messages in this thread |  | | From | "J. R. Okajima" <> | Subject | Re: [PATCH 00/13] cross rename v4 | Date | Tue, 25 Feb 2014 13:07:10 +0900 |
| |
Miklos Szeredi: > As Linus' suggestion, a whiteout is represented as a dummy char device. > This patch uses the 0/0 device number, but the actual number doesn't matter > as long as it doesn't conflict with a real device.
I have no objection about the char device. But why do we need an inode for every whiteout? I'd suggest making a hardlink. For some filesystems which don't support hardlinks, we have to consume an inode per whiteout. But when the fs supports hardlinks, we can re-use the inode and consume a few inodes only.
J. R. Okajima
|  |