Re: readahead: unexpected offset (131072 != 0) resetting

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

 



Hi Emmanuel,

Please find the inlined comments,


I am still working on glusterfs on NetBSD (and I still have pending
patches. Any taker?), and I see this debug message that may be caused
by a bug in NetBSD FUSE interface:

D [read-ahead.c:478:ra_readv] readahead: unexpected offset (131072 != 0) resetting

The log message means that the application is not doing sequential reads, it has seeked to offset zero, after it had read till  offset 131072. When this condition is hit, read-ahead senses that the application is no longer doing sequential reads and flushes all the pages in its cache, since reading ahead makes sense only for sequential reads but not for random reads. As far as the correctness is concerned, there is nothing going wrong here.


What does it mean? I notice that 131072 is 32 * PAGE_SIZE, which is the
negociated max_read_ahead. Did I send too many requests at once?

--
Emmanuel Dreyfus
manu@xxxxxxxxxx

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel



--
Raghavendra G


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux