Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
> On 07 Nov 2016, at 14:04, Christos Zoulas <christos%astron.com@localhost> wrote:
>
> In article <CAMnsW54_di9CBTC6cKMLnAN6J--uLJKhvSWVNe5q2Y+u3C6tpA%mail.gmail.com@localhost>,
> JaromĆr DoleÄ ek <jaromir.dolecek%gmail.com@localhost> wrote:
>>
>> Anyway, IMO eventual change to allow fsck to DTRT after crash in
>> ffs_truncate() should go separately from the crash fix.
>
> While fsck could be fixed, IMO, it is best for the kernel to try to leave
> things as consistent as possible avoid scary noise from fsck and to keep
> recovery simpler.
It is impossible to fix fsck here: fsck gets a file system where some
inodes have the same block allocated. It is impossible to determine
which allocation is wrong as its inode was in truncation.
--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)
Home |
Main Index |
Thread Index |
Old Index