Re: 'bad page state' error

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

 



I can reliably reproduce the error by mounting the filesystem with CIFS fscache enabled, then doing a cp on a file, and then hitting 'ctrl-c' to cancel the copy. This is on a separate VM with RHEL6.4 using the 373 kernel.

If I let the copy finish on its own, no error is generated; if I cancel the copy, it dumps 'bad page status' in dmesg.

Maybe aria2c generates these errors because torrents work in file chunks, so it opens, seeks, reads a chunk, and then closes. The kernel code may not handle partial reads properly, I speculate.

The crashes that happen after a while could be a separate problem. Unable to reproduce so far.

----- Original Message -----
> Rob Bos <rbos@xxxxxx> wrote:
> 
> > I applied the 373 patchset and compiled a version with CIFS_FSCACHE
> > enabled.
> > 
> > Same problem. Got ~2GiB into a cp before it started generating 'bad
> > page
> > state' errors.
> 
> Okay, thanks.  Looks like there's still another bug in there:-(
> 
> When you say you git 2GiB into a cp, were you actually copying a file
> of that
> size?  Or was this cumulative?
> 
> If I could work out how to reproduce this reliably, there's a good
> chance I'll
> be able to fix it.
> 
> David
> 

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux