Re: [PATCH 1/2] diskdump: Fail readmem() early if dump is incomplete

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

 



On Tue, Jun 08, 2021 at 02:40:39AM +0000, HAGIO KAZUHITO(萩尾 一仁) wrote:
> > Does it still make sense to check the incomplete flag for the
> > zero_excluded case? Otherwise, the above code comment will be
> > outdated.
> > +       } else if (0 == pd.offset) {
> >                 ...
> > -               if (*diskdump_flags & ZERO_EXCLUDED) {
> > +              if (is_incomplete_dump() && (*diskdump_flags & ZERO_EXCLUDED)) {
> 
> Given the fact that makedumpfile cannot mark a dump as incomplete every time
> it fails, I think it might be good to be able to use zero_excluded option
> also without the incomplete flag.
> 

Hi Kazu,

Yes, that was my thought too.

> So I'm ok with the original change, but additionally would like to
> - fix the comment Lianbo pointed out and help texts of zero_excluded
> - change netdump.c as well
> 

I'll correct the comment. What would you want to change in netdump.c?

Thanks,
Roman


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux