All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] fallocate05: Allow ENXIO error from lseek(SEEK_DATA) on empty file
Date: Thu, 26 Sep 2024 14:28:04 +0200	[thread overview]
Message-ID: <ZvVTVKDr30SOcAAh@yuki.lan> (raw)
In-Reply-To: <20240924160028.67124-1-mdoucha@suse.cz>

Hi!
> Some filesystems release deallocated blocks in larger chunks.
> On these filesystems, the whole test file needs to be deallocated
> to allow the final write to pass. However, lseek(SEEK_DATA) may
> return ENXIO error if the entire file range from offset to end of file
> is one large hole. Allow ENXIO error in this special case.

I do not get how is the whole file one hole, we write 10 bytes at the
end after we punch the hole. Or do I miss something?

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  parent reply	other threads:[~2024-09-26 12:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-24 16:00 [LTP] [PATCH] fallocate05: Allow ENXIO error from lseek(SEEK_DATA) on empty file Martin Doucha
2024-09-25  9:14 ` Avinesh Kumar
2024-09-26 12:28 ` Cyril Hrubis [this message]
2024-09-26 12:33   ` Martin Doucha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZvVTVKDr30SOcAAh@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=mdoucha@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.