All of lore.kernel.org
 help / color / mirror / Atom feed
* Is compression available under direct-io mode?
@ 2023-05-12  1:10 ` Sijie Lan
  0 siblings, 0 replies; 4+ messages in thread
From: Sijie Lan @ 2023-05-12  1:10 UTC (permalink / raw)
  To: linux-kernel, linux-f2fs-devel

Hi, guys,

When I do some specific test scenarios, I want to do some direct write
after data have been compressed in F2FS, but when I track the internal
functions, it seems F2FS forces my direct-io request to buffer-io
mode. Does it mean we can not do the write direct-io if we applied the
compression feature? In other words, must f2fs use an inside buffer to
provide compression functions?

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

* [f2fs-dev] Is compression available under direct-io mode?
@ 2023-05-12  1:10 ` Sijie Lan
  0 siblings, 0 replies; 4+ messages in thread
From: Sijie Lan @ 2023-05-12  1:10 UTC (permalink / raw)
  To: linux-kernel, linux-f2fs-devel

Hi, guys,

When I do some specific test scenarios, I want to do some direct write
after data have been compressed in F2FS, but when I track the internal
functions, it seems F2FS forces my direct-io request to buffer-io
mode. Does it mean we can not do the write direct-io if we applied the
compression feature? In other words, must f2fs use an inside buffer to
provide compression functions?


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

* Re: [f2fs-dev] Is compression available under direct-io mode?
  2023-05-12  1:10 ` [f2fs-dev] " Sijie Lan
@ 2023-05-17  2:32   ` Chao Yu
  -1 siblings, 0 replies; 4+ messages in thread
From: Chao Yu @ 2023-05-17  2:32 UTC (permalink / raw)
  To: Sijie Lan, linux-kernel, linux-f2fs-devel

On 2023/5/12 9:10, Sijie Lan wrote:
> Hi, guys,
> 
> When I do some specific test scenarios, I want to do some direct write
> after data have been compressed in F2FS, but when I track the internal
> functions, it seems F2FS forces my direct-io request to buffer-io
> mode. Does it mean we can not do the write direct-io if we applied the

Yes, compression feature depends on page cache.

Thanks,

> compression feature? In other words, must f2fs use an inside buffer to
> provide compression functions?
> 
> 
> _______________________________________________
> Linux-f2fs-devel mailing list
> Linux-f2fs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

* Re: [f2fs-dev] Is compression available under direct-io mode?
@ 2023-05-17  2:32   ` Chao Yu
  0 siblings, 0 replies; 4+ messages in thread
From: Chao Yu @ 2023-05-17  2:32 UTC (permalink / raw)
  To: Sijie Lan, linux-kernel, linux-f2fs-devel

On 2023/5/12 9:10, Sijie Lan wrote:
> Hi, guys,
> 
> When I do some specific test scenarios, I want to do some direct write
> after data have been compressed in F2FS, but when I track the internal
> functions, it seems F2FS forces my direct-io request to buffer-io
> mode. Does it mean we can not do the write direct-io if we applied the

Yes, compression feature depends on page cache.

Thanks,

> compression feature? In other words, must f2fs use an inside buffer to
> provide compression functions?
> 
> 
> _______________________________________________
> Linux-f2fs-devel mailing list
> Linux-f2fs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

end of thread, other threads:[~2023-05-17  2:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-12  1:10 Is compression available under direct-io mode? Sijie Lan
2023-05-12  1:10 ` [f2fs-dev] " Sijie Lan
2023-05-17  2:32 ` Chao Yu
2023-05-17  2:32   ` Chao Yu

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.