linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] [PATCH 0/2] zonefs fixes
@ 2021-03-16  1:08 Damien Le Moal
  2021-03-16  1:08 ` [PATCH v2 1/2] zonefs: prevent use of seq files as swap file Damien Le Moal
  2021-03-16  1:08 ` [PATCH v2 2/2] zonefs: Fix O_APPEND async write handling Damien Le Moal
  0 siblings, 2 replies; 4+ messages in thread
From: Damien Le Moal @ 2021-03-16  1:08 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Johannes Thumshirn

A couple of fixes:
- prevent use of sequerntial zone files as swap files
- Fix write offset initialization of asynchronous append write operation
  (for sequential files open with O_APPEND or aio writes issued with
  RWF_APPEND)

Changes from v1:
* Fixed build warning (uninitialized var) in patch 2

Damien Le Moal (2):
  zonefs: prevent use of seq files as swap file
  zonefs: Fix O_APPEND async write handling

 fs/zonefs/super.c | 94 ++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 84 insertions(+), 10 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-16  8:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16  1:08 [PATCH v2 0/2] [PATCH 0/2] zonefs fixes Damien Le Moal
2021-03-16  1:08 ` [PATCH v2 1/2] zonefs: prevent use of seq files as swap file Damien Le Moal
2021-03-16  1:08 ` [PATCH v2 2/2] zonefs: Fix O_APPEND async write handling Damien Le Moal
2021-03-16  8:09   ` Johannes Thumshirn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).