On Wed, Mar 27, 2019 at 8:35 AM Amir Goldstein <amir73il@xxxxxxxxx> wrote: > > On Wed, Feb 27, 2019 at 1:32 PM Amir Goldstein <amir73il@xxxxxxxxx> wrote: > > > > Overlay file f_pos is the master copy that is preserved > > through copy up and modified on read/write, but only real > > fs knows how to SEEK_HOLE/SEEK_DATA and real fs may impose > > limitations that are more strict than ->s_maxbytes for specific > > files, so we use the real file to perform seeks. > > > > We do not call real fs for SEEK_CUR:0 query and for SEEK_SET:0 > > requests. > > > > Fixes: d1d04ef8572b ("ovl: stack file ops") > > Reported-by: Eddie Horng <eddiehorng.tw@xxxxxxxxx> > > Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx> > > --- > > Miklos, > > PING. > > xfstests are already upstream and failing... > I lied... xfstests were only posted for review Now posted v3 tests. Thanks, Amir.