System input error

Hi, I am running into some wired error when i started my multi-threading program today. After a while I got:

(hft_py11) ➜  flow_sample
zshz:31: Input/output error: mkdir
zshz:38: Input/output error: /home/zhe/.z

(hft_py11) ➜  flow_sample _zsh_autosuggest_async_request:42: Input/output error: true
b_zsh_autosuggest_async_request:42: Input/output error: true
bash
zsh: Input/output error: bash
zshz:31: Input/output error: mkdir
zshz:38: Input/output error: /home/zhe/.z
(hft_py11) ➜  flow_sample
zshz:31: Input/output error: mkdir
zshz:38: Input/output error: /home/zhe/.z

And i can’t input anything. I had to hard reboot. No idea why this happens.
The program do need to read huge files ~300gb, but i got enough RAM and enogh ssd space, and
same program had been run a lot of times before.

And i encounter another issue earlier today(i don’t know whether these 2 error are connected):

zhe001 login: [11106810.583301] blk_update_request: I/O error, dev nvme0n1, sector 3463536 op 0x0:(READ) flags 0x0

[11106810.583301] blk_update_request: I/O error, dev nvme0n1, sector 7737338962 op 0x1:(WRITE) flags 0x29800

[11106810.583325] Read-error on swap-device (253:133348)

[11106810.583328] XFS (dm-0): log I/O error

[11106810.583329] XFS (dm-0): Log I/O error detected at xlog_ioend_work+0x274/0x280 [xfs]

[11106810.583333] Read-error on swap-device (253:133351)

[11106810.583334] XFS (dm-0): log I/O error

[11106810.583335] XFS (dm-0): Log I/O error detected at xlog_ioend_work+0x274/0x280 [xfs]

[11106810.583350] Please unmount the filesystem and rectify the problem(s)

i remount swap and it seems everything works fine.