Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
EOS-26214 fol: set FOL_REC_MAXSIZE to 256K to support larger FOL sizes (
Browse files Browse the repository at this point in the history
#1231)

To fix the following panic, increased the size of FOL_REC_MAXSIZE,
#3 0x00007f901fbdcd24 in m0_panic (ctx=ctx@entry=0x7f9020060320 <__pctx.10675>) at lib/assert.c:52
#4 0x00007f901fbaa1c4 in fol_record_pack_size (rec=rec@entry=0x7f8fc842a6f8) at fol/fol.c:254
#5 0x00007f901fbaa979 in m0_fol_rec_encode (rec=rec@entry=0x7f8fc842a6f8, at=at@entry=0x7f8fc842a578) at fol/fol.c:322
#6 0x00007f901fb2f6aa in m0_be_tx_fol_add (tx=tx@entry=0x7f8fc842a3e0, rec=rec@entry=0x7f8fc842a6f8) at be/tx.c:635
#7 0x00007f901fb917f5 in m0_dtx_fol_add (tx=tx@entry=0x7f8fc842a3d8) at dtm/dtm.c:171
#8 0x00007f901fbaf224 in m0_fom_fol_rec_add (fom=fom@entry=0x7f8fc842a310) at fop/fom.c:1739
#9 0x00007f901fbafd10 in fom_fol_rec_add (fom=0x7f8fc842a310) at fop/fom_generic.c:413
#10 0x00007f901fbb0112 in m0_fom_tick_generic (fom=fom@entry=0x7f8fc842a310) at fop/fom_generic.c:860
#11 0x00007f901fb3e00f in cas_fom_tick (fom0=0x7f8fc842a310) at cas/service.c:1218
#12 0x00007f901fbae61b in fom_exec (fom=0x7f8fc842a310) at fop/fom.c:791
#13 loc_handler_thread (th=0x1a0cbb0) at fop/fom.c:931

Signed-off-by: Yeshpal Jain <yeshpal.jain@seagate.com>
  • Loading branch information
yeshpal-jain-seagate authored and root committed Dec 9, 2021
1 parent f5d1322 commit db8a2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fol/fol.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ enum {
/* FOL_REC_MAXSIZE = 1024 * 1024 */

/* EN: Previous size is too big to fit into one RPC message */
FOL_REC_MAXSIZE = 1024 * 128
FOL_REC_MAXSIZE = 1024 * 256
};

/**
Expand Down

0 comments on commit db8a2e2

Please sign in to comment.